public ActionResult TransferDeficiencies(TransferDeficienciesVM model)
        {
            if (!ModelState.IsValid)
            {
                model.LoadReviewStaffDropdowns(model.PermitKey);
                return PartialView(model);
            }

            try
            {
                int count = DeficiencyBLL.TransferDeficiencies(model.PermitKey, model.FromUser, model.ToUser);
                AjaxResult result = new AjaxResult(AjaxResult.AjaxStatus.OK,  count + " deficiencies were transferred successfully");
                return Json(result);
            }
            catch (Exception ex)
            {
                AjaxResult result = new AjaxResult(AjaxResult.AjaxStatus.ERROR, ex.Message);
                return Json(result);
            }
        }
 public ActionResult TransferDeficiencies(int PermitKey)
 {
     TransferDeficienciesVM model = new TransferDeficienciesVM();
     model.LoadReviewStaffDropdowns(PermitKey);
     return PartialView(model);
 }