public ActionResult HuToMappingNew(HuToMapping huToMapping)
        {
            try
            {
                if (ModelState.IsValid)
                {
                    this.genericMgr.CreateWithTrim(huToMapping);
                    SaveSuccessMessage(Resources.MRP.HuToMapping.HuToMapping_Added);
                    int id = huToMapping.Id;

                    return new RedirectToRouteResult(new RouteValueDictionary { { "action", "HuToMappingEdit" }, { "controller", "HuTo" }, { "id", id } });
                }
            }
            catch (Exception e)
            {
                if (e is CommitResourceException)
                {
                    SaveErrorMessage(Resources.EXT.ControllerLan.Con_TheHuToMappingAlreadyExits);
                }
                else
                {
                    SaveErrorMessage(e);
                }
            }

            return View(huToMapping);
        }
        public ActionResult HuToMappingEdit(HuToMapping huToMapping)
        {
            if (ModelState.IsValid)
            {
                this.genericMgr.UpdateWithTrim(huToMapping);
                SaveSuccessMessage(Resources.MRP.HuToMapping.HuToMapping_Updated);
            }

            return View(huToMapping);
        }