Beispiel #1
0
 public IActionResult AddUpdate(BankViewModel model)
 {
     if (ModelState.IsValid)
     {
         return(Json(_interface.AddUpdate(model.bankMaster)));
     }
     else
     {
         resp.Message = Constants.ControllerMessage.All_Fields_Mandatory;
         return(Json(resp));
     }
 }