public IActionResult Index(TransactionTypeViewModel model)
 {
     if (ModelState.IsValid)
     {
         return(Json(_interface.AddUpdate(model)));
     }
     else
     {
         JsonResponse resp = new JsonResponse();
         resp.Message = Constants.ControllerMessage.All_Fields_Mandatory;
         return(Json(resp));
     }
 }