예제 #1
0
 public IHttpActionResult Put(int id, trxTenagaAhliHeader myData)
 {
     myData.LMDate = DateTime.Today;
     _repository.Put(id, myData);
     //Update catatan di mstRekanan
     _repRekanan.UpdateNote(myData.IdRekanan, myData.ProcInfo);
     return(StatusCode(HttpStatusCode.NoContent));
 }
        public IHttpActionResult Put(int id, trxRekananDocument myData)
        {
            trxRekananDocument rekDocTemp = new trxRekananDocument();

            rekDocTemp.InjectFrom(myData);
            _repository.Put(id, rekDocTemp);
            return(StatusCode(HttpStatusCode.NoContent));
        }
예제 #3
0
        public IHttpActionResult Put(int id, trxDataOrganisasiForm myData)
        {
            trxDataOrganisasi orgTemp = new trxDataOrganisasi();

            orgTemp.InjectFrom(myData);
            _repository.Put(id, orgTemp);
            return(StatusCode(HttpStatusCode.NoContent));
        }
        public IHttpActionResult Put(int id, trxNotarisForm myData)
        {
            trxNotari notTemp = new trxNotari();

            notTemp.InjectFrom(myData);
            _repository.Put(id, notTemp);
            return(StatusCode(HttpStatusCode.NoContent));
        }
        public IHttpActionResult Put(int id, trxPertanyaanNilai myData)
        {
            trxPertanyaanNilai SingleData = _repository.Get(id);

            SingleData.Nilai = myData.Nilai;
            _repository.Put(id, SingleData);
            return(StatusCode(HttpStatusCode.NoContent));
        }
예제 #6
0
        public IHttpActionResult Put(System.Guid id, mstRekananForm myData)
        {
            mstRekanan rekTemp = new mstRekanan();

            rekTemp.InjectFrom(myData);
            rekTemp.Note   = "Update: Profile";
            rekTemp.LMDate = DateTime.Today;
            _repository.Put(id, rekTemp);
            return(StatusCode(HttpStatusCode.NoContent));
        }
        public IHttpActionResult Put(int id, mstKategoriResiko myData)
        {
            mstKategoriResiko SingleData = _repository.Get(id);

            SingleData.NilaiBawahC1 = myData.NilaiBawahC1;
            SingleData.NilaiBawahC2 = myData.NilaiBawahC2;
            SingleData.NilaiBawahC3 = myData.NilaiBawahC3;
            SingleData.NilaiBawahC4 = myData.NilaiBawahC4;

            SingleData.NilaiAtasC1 = myData.NilaiAtasC1;
            SingleData.NilaiAtasC2 = myData.NilaiAtasC2;
            SingleData.NilaiAtasC3 = myData.NilaiAtasC3;
            SingleData.NilaiAtasC4 = myData.NilaiAtasC4;

            _repository.Put(id, SingleData);
            return(StatusCode(HttpStatusCode.NoContent));
        }
예제 #8
0
 public IHttpActionResult Put(Provider provider)
 {
     _repository.Put(provider.Id, provider);
     return(Json("OK"));
 }
예제 #9
0
 public IHttpActionResult PutRegistration(int registrationId, Registration registration)
 {
     _repo.Put(registrationId, registration);
     return(CreatedAtRoute("GetR", new { id = registration.RegistrationId }, registration));
 }
예제 #10
0
 public IHttpActionResult PutCancelOrder(int cancelOrderId, CancelOrder cancelOrder)
 {
     _repository.Put(cancelOrderId, cancelOrder);
     return(CreatedAtRoute("GetCancelOrder", new { Id = cancelOrder.CancelOrderID }, cancelOrderId));
 }
예제 #11
0
 public IHttpActionResult PutTestXPaper(int testXPaperId, TestXPaper testXPaper)
 {
     _repo.Put(testXPaperId, testXPaper);
     return(CreatedAtRoute("GetT", new { id = testXPaper.TestXPaperId }, testXPaper));
 }
예제 #12
0
 public IHttpActionResult Put(long id, CONTACT contact)
 {
     _repository.Put(id, contact);
     return(StatusCode(HttpStatusCode.NoContent));
 }
 public IHttpActionResult Put(int id, trxSanksiEksternal myData)
 {
     _repository.Put(id, myData);
     return(StatusCode(HttpStatusCode.NoContent));
 }
 public IHttpActionResult Put(int id, trxTenagaAhliTMP myData)
 {
     _repository.Put(id, myData);
     return(StatusCode(HttpStatusCode.NoContent));
 }
예제 #15
0
 public IHttpActionResult PutItem(int orderDetailId, OrderDetail orderDetail)
 {
     _repository.Put(orderDetailId, orderDetail);
     return(CreatedAtRoute("OrderDetail", new { Id = orderDetail.OrderDetailID }, orderDetail));
 }
예제 #16
0
 public IHttpActionResult PutAdminPanel(int adminPanelId, AdminPanel admin)
 {
     _repo.Put(adminPanelId, admin);
     return(CreatedAtRoute("GetAdmin", new { id = admin.AdminPanelId }, admin));
 }
예제 #17
0
 public IHttpActionResult PutJob(int jobId, JobList jobList)
 {
     _repository.Put(jobId, jobList);
     return(CreatedAtRoute("GetJobLists", new { Id = jobList.JobListID }, jobList));
 }
예제 #18
0
 public IHttpActionResult Put(Country country)
 {
     _repository.Put(country.Id, country);
     return(Json("OK"));
 }
 public IHttpActionResult Put(int id, trxBranchOffice myData)
 {
     _repository.Put(id, myData);
     return(StatusCode(HttpStatusCode.NoContent));
 }
 public IHttpActionResult Put(int id, EmployeeInfo employeeInfo)
 {
     _repository.Put(id, employeeInfo);
     return(StatusCode(HttpStatusCode.NoContent));
 }
예제 #21
0
 public IHttpActionResult PutQuestionCategory(int questionCategoryId, QuestionCategory questionCategory)
 {
     _repo.Put(questionCategoryId, questionCategory);
     return(CreatedAtRoute("GetQC", new { id = questionCategory.QuestionCategoryId }, questionCategory));
 }
예제 #22
0
 public IHttpActionResult PutItem(int paymentId, Payment payment)
 {
     _repository.Put(paymentId, payment);
     return(CreatedAtRoute("Get", new { Id = payment.PaymentID }, payment));
 }
 public IHttpActionResult Put(int id, mstContact_ARC myData)
 {
     _repository.Put(id, myData);
     return(StatusCode(HttpStatusCode.NoContent));
 }
 public IHttpActionResult Put(Stockshipmentattribute stockshipmentattribute)
 {
     _repository.Put(stockshipmentattribute.Id, stockshipmentattribute);
     return(Json("OK"));
 }
 public IHttpActionResult Put(int id, trxMonitoringFeeBased_ARC myData)
 {
     _repository.Put(id, myData);
     return(StatusCode(HttpStatusCode.NoContent));
 }
 public IHttpActionResult PutQuizQuesMake(int quizQuesMakeId, QuizQuestion quizQuestion)
 {
     _repo.Put(quizQuesMakeId, quizQuestion);
     return(CreatedAtRoute("GetQQ", new { id = quizQuestion.QuizQuestionID }, quizQuestion));
 }
 public IHttpActionResult Put(int id, mstTypeOfDocument myData)
 {
     _repository.Put(id, myData);
     return(StatusCode(HttpStatusCode.NoContent));
 }
예제 #28
0
 public IHttpActionResult PutAdminPanel(int organizationId, Organization organization)
 {
     _repo.Put(organizationId, organization);
     return(CreatedAtRoute("GetOrganization", new { id = organization.OrganizationID }, organization));
 }
 public IHttpActionResult Put(Stocksaledispute stocksaledispute)
 {
     _repository.Put(stocksaledispute.Id, stocksaledispute);
     return(Json("OK"));
 }
예제 #30
0
 public IHttpActionResult Put(Globalsetting globalsetting)
 {
     _repository.Put(globalsetting.Id, globalsetting);
     return(Json("OK"));
 }