public IEnumerable <TEntity> GetAll() { return(_unitOfWork.GetConnection().Fetch <TEntity>()); }
public async Task <IEnumerable <TEntity> > GetAllAsync() { return(await _unitOfWork.GetConnection().FetchAsync <TEntity>()); }