public ActionResult Create(BillViewModel billVM) { try { Logger.Instance.DataFlow($"Create"); if (!ModelState.IsValid) { return(View(billVM)); } if (!_billManager.Create(billVM)) { return(View(billVM)); } return(RedirectToAction("Index")); } catch (Exception e) { Logger.Instance.Error(e); return(View(new BillViewModel())); } }