public JsonResult GetProjectForCustomer(int customer, int?dealer, int territory)
 {
     using (var sRepository = new SpecRequestRepository())
     {
         return(Json(new { theList = sRepository.GetProjectForCustomer(customer, dealer, territory) },
                     JsonRequestBehavior.AllowGet));
     }
 }