public JsonResult CheckRoleName(string rolename)
 {
     try
     {
         var result = _iRole.CheckRoleMasterNameExists(rolename);
         return(Json(result, JsonRequestBehavior.AllowGet));
     }
     catch (Exception)
     {
         throw;
     }
 }