public async Task <object> GetAsync(vChat parameters) { await DbContextManager.BeginTransactionAsync(); var spParameter = new SqlParameter[2]; spParameter[0] = new SqlParameter() { ParameterName = "SenderId", Value = parameters.SenderId }; spParameter[1] = new SqlParameter() { ParameterName = "ReceiverId", Value = parameters.ReceiverId }; //throw new NotImplementedException(); var result = await DbContextManager.StoreProc <StoreProcResult>("[dbo].ShowChat ", spParameter); return(await Task.FromResult(result)); //throw new NotImplementedException(); }
public Task DeleteAsync(vChat parameters) { throw new NotImplementedException(); }
public HashSet <string> DeleteValidation(vChat parameters) { return(ValidationMessages); }
public async Task UpdateAsync(vChat entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public HashSet <string> UpdateValidation(vChat entity) { return(ValidationMessages); }
public async Task AddAsync(vChat entity) { await Uow.RegisterNewAsync(entity); await Uow.CommitAsync(); }
public Task <object> GetBy(vChat parameters) { throw new NotImplementedException(); }