public ActionResult Edit(string menuId, Master_Menu model)
 {
     try
     {
         IFunctionService svc = new FunctionService();
         var result           = svc.Edit(menuId, model);
         return(RedirectToAction("Index"));
     }
     catch (Exception ex)
     {
         general.AddLogError("Function Edit", ex.Message, ex.StackTrace);
         return(View("~/Views/Master/Function/Index.cshtml"));
     }
 }