Beispiel #1
0
 public void DenyForm(ApplicationForms appForm)
 {
     //change status then update
     appForm.FormStatusId = 4;
     context.ApplicationForms.Update(appForm);
     context.SaveChanges();
 }
Beispiel #2
0
 public void PrintFormSubmit(ApplicationForms appForm)
 {
     //change status then update
     appForm.FormStatusId = 2;
     context.ApplicationForms.Update(appForm);
     context.SaveChanges();
 }
Beispiel #3
0
 public void UndoFormAction(ApplicationForms appForm)
 {
     appForm.FormStatusId = 2;
     context.ApplicationForms.Update(appForm);
     context.SaveChanges();
 }