Exemple #1
0
 public ActionResult GetLocationServicePermissionListForAssignRolesandLocation(long LocationID, long UserType)
 {
     try
     {
         PermissionDetailsModel objPermissionDetails = new PermissionDetailsModel();
         if (LocationID > 0 && UserType > 0)
         {
             objPermissionDetails.GetPermission = _ICommonMethod.GetPermissionsWithUserType(LocationID, UserType);
             return(PartialView("_GetCheckboxDesignRole", objPermissionDetails));
         }
         else
         {
             return(Json(null, JsonRequestBehavior.AllowGet));
         }
     }
     catch (Exception)
     {
         return(Json(null, JsonRequestBehavior.AllowGet));
     }
 }