public HashSet <string> DeleteValidation(vRequest parameters) { return(ValidationMessages); }
public Task DeleteAsync(vRequest parameters) { throw new NotImplementedException(); }
public async Task UpdateAsync(vRequest entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public HashSet <string> UpdateValidation(vRequest entity) { return(ValidationMessages); }
public async Task AddAsync(vRequest entity) { await Uow.RegisterNewAsync(entity); await Uow.CommitAsync(); }
public async Task <object> GetBy(vRequest parameters) { return(await Uow.Repository <Requester>().SingleAsync(t => t.RequesterId == parameters.RequesterId)); //throw new NotImplementedException(); }
public async Task <object> GetAsync(vRequest parameters) { return(await Uow.Repository <vRequest>().FindByAsync(t => t.BedStatus == false));//0 not available /*throw new NotImplementedException();*/ }