public void ThisModel()
 {
     PrimeFactorsModel model = new PrimeFactorsModel();
     response = (NumberResponse)model.Decompose("16");
 }
 public void ThisModel()
 {
     PrimeFactorsModel model = new PrimeFactorsModel();
     response = (ErrorResponse)model.Decompose("batman");
 }
 //
 // GET: /PrimeFactors/
 public ActionResult Index(string number)
 {
     PrimeFactorsModel model = new PrimeFactorsModel();
     Response response = model.Decompose(number);
     return Json(response, JsonRequestBehavior.AllowGet);
 }