public ActionResult EditUser(SchoolUserRequest request, string actionParam)
 {
     if (request.UserId > 0 || request.SchoolId > 0)
     {
         if (actionParam == "C")
         {
             var response = SchoolService.CreateUser(new SchoolUserRequest {
                 SchoolId = request.SchoolId, UserId = request.UserId
             });
             if (response.Result == Result.Success)
             {
                 //InfoMessage = response.Message;
                 return(RedirectToAction("Edit", "School", new { id = request.SchoolId }));
             }
             ErrorMessage = response.Message;
         }
         else
         {
             var response =
                 SchoolService.DeleteUser(new SchoolUserRequest
             {
                 SchoolId = request.SchoolId,
                 UserId   = request.UserId
             });
             if (response.Result == Result.Success)
             {
                 //InfoMessage = response.Message;
                 return(RedirectToAction("Edit", "School", new { id = request.SchoolId }));
             }
             ErrorMessage = response.Message;
         }
     }
     ErrorMessage = "User or School Not Exist in system";
     return(RedirectToAction("Edit", "School", new { id = request.SchoolId }));
 }