Exemple #1
0
        /// <summary>
        /// Get Entity code based on division
        /// </summary>
        /// <returns></returns>
        public JsonResult GetEntitycodebyDivision()
        {
            DataControl.BLMessaging             _objBlMsg          = new DataControl.BLMessaging();
            DataControl.CurrentInfo             _objcurInfo        = new DataControl.CurrentInfo();
            DataControl.JSONConverter           _objJsoncon        = new DataControl.JSONConverter();
            List <MVCModels.DivisionBasedModel> lstEntityDivisions = new List <MVCModels.DivisionBasedModel>();

            lstEntityDivisions = _objBlMsg.GetEntityCodebyDivision(_objcurInfo.GetCompanyCode()).ToList();
            return(Json(_objJsoncon.Serialize(lstEntityDivisions)));
        }