public List <Users> GetAll() { try { return(_dapper.GetAll <Users>().ToList()); } catch (Exception ex) { throw ex; } }
public IEnumerable <TEntity> GetAll() { return(dapper.GetAll <TEntity>()); }