public ActionResult Edit(FormCollection partyMoneyCollection, string id)
 {
     Service.EditPartyMoney(PartyMoneyIdentifier.Of(id))
     .Name(partyMoneyCollection[Keys.Name])
     .PostWage(partyMoneyCollection[Keys.PostWage])
     .SalaryRankWage(partyMoneyCollection[Keys.SalaryRankWage])
     .Allowance(partyMoneyCollection[Keys.Allowance])
     .PerformanceWage(partyMoneyCollection[Keys.PerformanceWage])
     .UnionExpenses(partyMoneyCollection[Keys.UnionExpenses])
     .MedicalInsurance(partyMoneyCollection[Keys.MedicalInsurance])
     .UnemploymentInsurance(partyMoneyCollection[Keys.UnemploymentInsurance])
     .OldAgeInsurance(partyMoneyCollection[Keys.OldAgeInsurance])
     .JobAnnuity(partyMoneyCollection[Keys.JobAnnuity])
     .IndividualIncomeTax(partyMoneyCollection[Keys.IndividualIncomeTax]);
     return(RedirectToAction("Index"));
 }
Beispiel #2
0
 protected static PartyMoneyIdentifier 报表(int no)
 {
     return(PartyMoneyIdentifier.Of(no.ToString(CultureInfo.InvariantCulture)));
 }
 public ActionResult Edit(string id)
 {
     return(View(Service.GetPartyMoney(PartyMoneyIdentifier.Of(id))));
 }
 public ActionResult Delete(string id)
 {
     Service.DeletePartyMoney(PartyMoneyIdentifier.Of(id));
     return(RedirectToAction("Index"));
 }