public void Update(DalRequest entity) { throw new NotImplementedException(); }
public void Delete(DalRequest entity) { var request = entity.ToRequest(); request = _dbContext.Set<Request>().Single(r => r.RequestId == request.RequestId); _dbContext.Set<Request>().Remove(request); }
public void Create(DalRequest entity) { var request = entity.ToRequest(); _dbContext.Set<Request>().Add(request); }