public ActionResult AddInventory(string hidtype, string code)
        {
            dynamic data = new System.Dynamic.ExpandoObject();

            data.code = code;
            var tip = _StandardTipRepos.GetStandardTip();

            data.tip = tip;
            var ms = _MSpecificationRepos.GetMaterialSpecification();

            data.ms  = ms;
            data.one = new Entities::Models.Inventory();
            if (hidtype == "add")
            {
                return(PartialView(new Entities::Models.Inventory()));
            }
            if (hidtype == "update")
            {
                Guid guid = new Guid();
                return(PartialView(_InventoryRepos.GetInventoryByCode(guid)));
            }
            return(PartialView(data));
        }