public T GetEntityForKey <T>(string key, IBaseDal <T> dal) where T : class { return(dal.GetEntity(key)); }
public async Task <T> GetEntity(Expression <Func <T, bool> > whereLambda) { return(await _baseDal.GetEntity(whereLambda)); }