コード例 #1
0
 public HashSet <string> DeleteValidation(vRequest parameters)
 {
     return(ValidationMessages);
 }
コード例 #2
0
 public Task DeleteAsync(vRequest parameters)
 {
     throw new NotImplementedException();
 }
コード例 #3
0
        public async Task UpdateAsync(vRequest entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #4
0
 public HashSet <string> UpdateValidation(vRequest entity)
 {
     return(ValidationMessages);
 }
コード例 #5
0
        public async Task AddAsync(vRequest entity)
        {
            await Uow.RegisterNewAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #6
0
        public async Task <object> GetBy(vRequest parameters)
        {
            return(await Uow.Repository <Requester>().SingleAsync(t => t.RequesterId == parameters.RequesterId));

            //throw new NotImplementedException();
        }
コード例 #7
0
        public async Task <object> GetAsync(vRequest parameters)
        {
            return(await Uow.Repository <vRequest>().FindByAsync(t => t.BedStatus == false));//0 not available

            /*throw new NotImplementedException();*/
        }