public void EditTender(int id, TenderRequest tenderValue) { var tender = new Tender() { Id = id, TenderName = tenderValue.TenderName, State = tenderValue.State, EmployeeId = tenderValue.EmployeeId }; _tenderRepository.EditTender(tender); }