Exemplo n.º 1
0
 // clean up all the data before running the next test
 public void Dispose()
 {
     Customer.DeleteAll();
     Stylist.DeleteAll();
 }
Exemplo n.º 2
0
 public void Dispose()
 {
     Stylist.DeleteAll();
     //Category.DeleteAll();
 }
Exemplo n.º 3
0
 public ActionResult DeleteAllStylists()
 {
     Stylist.DeleteAll();
     return(View("Stylists"));
 }
Exemplo n.º 4
0
 public void Dispose()
 {
     Stylist.DeleteAll();
     Specialty.DeleteAll();
 }
Exemplo n.º 5
0
 public ActionResult DeleteStylist()
 {
     Stylist.DeleteAll();
     return RedirectToAction("Index");
 }
 public ActionResult DeleteAll()
 {
     Stylist.DeleteAll();
     return(RedirectToAction("Index", "Home"));
 }
        public ActionResult DeleteAll()
        {
            Stylist.DeleteAll();

            return(RedirectToAction("ViewAll"));
        }
 public ActionResult DeleteAll()
 {
     Stylist.DeleteAll();
     return(View("Index"));
 }
Exemplo n.º 9
0
 public void Dispose()
 {
     Client.DeleteAll();
     Stylist.DeleteAll();
     Speciality.DeleteAll();
 }
Exemplo n.º 10
0
 public ActionResult DeleteAll()
 {
     Stylist.DeleteAll(true);
     return(View());
 }
Exemplo n.º 11
0
        public ActionResult Delete()
        {
            Stylist.DeleteAll();

            return(RedirectToAction("StylistList"));
        }
Exemplo n.º 12
0
 public void Dispose()
 {
     Stylist.DeleteAll(); // This will ultimately have to kill everything.
 }
Exemplo n.º 13
0
 public static void Cleanup()
 {
     Stylist.DeleteAll();
     Client.DeleteAll();
 }
Exemplo n.º 14
0
 public ActionResult Clear()
 {
     Stylist.DeleteAll();
     return(Redirect("/stylists"));
 }
Exemplo n.º 15
0
 public ActionResult DeleteAllStylists()
 {
     Stylist.DeleteAll();
     return(View("Index", Stylist.GetAll()));
 }
Exemplo n.º 16
0
 public void Dispose()
 {
     Stylist.DeleteAll();
     Client.DeleteAll();
 }
Exemplo n.º 17
0
 public ActionResult RemoveAllEmployees()
 {
     Client.DeleteAll();
     Stylist.DeleteAll();
     return(View("RemoveAllEmployees"));
 }