public Eut AddEut(Eut eut, RqRequestDetail requestDetail, string omschrijving, DateTime dateEUT) { eut.IdRqDetail = requestDetail.IdRqDetail; eut.OmschrijvingEut = omschrijving; eut.AvailableDate = dateEUT; requestDetail.Eut.Add(eut); return(eut); }
public RqRequestDetail AddDetail(RqRequestDetail requestDetail, RqRequest request, string testdivision) { requestDetail.IdRequest = request.IdRequest; requestDetail.Testdivisie = testdivision; request.RqRequestDetail.Add(requestDetail); _context.RqRequest.Add(request); return(requestDetail); }
private void CreateRequestDetail(string division, string eutMessage, DateTime date) { var requestDetail = new RqRequestDetail(); _dataservice.AddDetail(requestDetail, request, division); var eut = new Eut(); _dataservice.AddEut(eut, requestDetail, eutMessage, date); }