//#region CheckPermissionRoles //public bool CheckPermissionRoles(string name, string permission, string modulename) //{ // bool check = false; // AdminRolesBSO adminRolesBSO = new AdminRolesBSO(); // Admin admin = new Admin(); // admin = GetAdminById(name); // string strPermission = admin.AdminPermission; // strPermission = strPermission.Replace(",", "','"); // int i = strPermission.IndexOf(permission); // if (i != -1) // check = true; // return check; //} //#endregion #region GetAllAdminRoles public DataTable GetAllAdminRoles() { AdminDAO adminDAO = new AdminDAO(); return(adminDAO.GetAllAdminRoles()); }