using Dapper; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using XYY.Core.Standard.Data.Infrastructure; using XYY.Model.Standard.Sys; namespace XYY.Data.Standard.Sys { public interface ISys_CurrencyRepository : IBaseRepository { Task> GetAll(); } public class Sys_CurrencyRepository : BaseRepository, ISys_CurrencyRepository { public Sys_CurrencyRepository(IUnitOfWork unitOfWork) : base(unitOfWork) { } public async Task> GetAll() { return (await QueryAsync()).ToList(); } } }