示例#1
0
 public List <Users> GetAll()
 {
     try
     {
         return(_dapper.GetAll <Users>().ToList());
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
示例#2
0
 public IEnumerable <TEntity> GetAll()
 {
     return(dapper.GetAll <TEntity>());
 }