Пример #1
0
        public JsonResult GetDivisions()
        {
            DataControl.BLMessaging           _objBlMsg    = new DataControl.BLMessaging();
            DataControl.CurrentInfo           _objcurInfo  = new DataControl.CurrentInfo();
            DataControl.JSONConverter         _objJsoncon  = new DataControl.JSONConverter();
            List <MVCModels.MsdDivisionModel> lstDivisions = new List <MVCModels.MsdDivisionModel>();

            lstDivisions = (List <MVCModels.MsdDivisionModel>)_objBlMsg.GetDivisions(_objcurInfo.GetCompanyCode());
            return(Json(_objJsoncon.Serialize(lstDivisions)));
        }