public async Task <object> GetBy(vPNR parameters) { var check = await Uow.Repository <vPNR>().FindByAsync(t => t.UserId == parameters.UserId); return(check); /* if(check != null) * { * return "hello"; * } * else * { * return "invalid"; * }*/ }
public Task <object> GetAsync(vPNR parameters) { throw new NotImplementedException(); }
public async Task <object> GetAsync(vPNR parameters) { //throw new NotImplementedException(); return(await Uow.Repository <vPNR>().AllAsync()); }