public ActionResult ShiftInsert(ShiftsModel model) { if (ModelState.IsValid) { _serviceShifts.Insert(model.ModelToEnity(true)); } return(RedirectToAction("ShiftList")); }