示例#1
0
 // clean up all the data before running the next test
 public void Dispose()
 {
     Customer.DeleteAll();
     Stylist.DeleteAll();
 }
示例#2
0
 public void Dispose()
 {
     Stylist.DeleteAll();
     //Category.DeleteAll();
 }
 public ActionResult DeleteAllStylists()
 {
     Stylist.DeleteAll();
     return(View("Stylists"));
 }
 public void Dispose()
 {
     Stylist.DeleteAll();
     Specialty.DeleteAll();
 }
示例#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"));
 }
示例#9
0
 public void Dispose()
 {
     Client.DeleteAll();
     Stylist.DeleteAll();
     Speciality.DeleteAll();
 }
示例#10
0
 public ActionResult DeleteAll()
 {
     Stylist.DeleteAll(true);
     return(View());
 }
        public ActionResult Delete()
        {
            Stylist.DeleteAll();

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