Exemplo n.º 1
0
        public ActionResult GetAllAffiliation()
        {
            int    Count  = 0;
            string roleid = null;

            AccountBLL EmployeeBLL       = new AccountBLL();
            AffiliationListEntityDC data = new AffiliationListEntityDC();

            data = EmployeeBLL.GetAllAffiliation();
            Dictionary <string, object> retData = new Dictionary <string, object>();

            retData.Add("data", data);
            retData.Add("total", Count);

            return(Json(retData, JsonRequestBehavior.AllowGet));
        }