public ActionResult SectionCreate(SectionsModel model)
        {
            @ViewBag.Main = "Registration";
            @ViewBag.Sub  = "Sections";

            if (ModelState.IsValid)
            {
                try
                {
                    _sectionRep.Create(model);
                    model = new SectionsModel();
                    ModelState.Clear();
                    TempData["Message"]        = "success";
                    TempData["SuccessMessage"] = MessageNaming.SuccessDataEntry;
                }
                catch (Exception ex)
                {
                    TempData["Message"]      = "error";
                    TempData["ErrorMessage"] = ex.Message;
                }
            }
            return(View(model));
        }