Exemplo n.º 1
0
        public JsonResult GetHDAccessUsersDetails(string LoginUserCode)
        {
            //String CompanyCode = "";
            //CompanyCode = _objCurrentInfo.GetCompanyCode();
            List <HDAccessDetails> lstUser = new List <HDAccessDetails>();

            try
            {
                BLUser objDept = new BLUser();
                lstUser = objDept.GetHDAccessUsersDetails(LoginUserCode).ToList();
            }
            catch (Exception ex)
            {
                Dictionary <string, string> dicContext = new Dictionary <string, string>();
                DataControl.Impl.ExceptionHandler.WriteLog(ex, dicContext);
            }
            return(Json(lstUser, JsonRequestBehavior.AllowGet));
        }