public void SetUp() { _reservationCtrl = new ReservationController(); _treatmentCtrl = new TreatmentController(); _employeeCtrl = new EmployeeController(); _watch = new Stopwatch(); DbCleanUp.CleanDB(); InsertTestData.InsertData(); _categories = new List <int>() { 1 }; Treatment_DTO treatment = new Treatment_DTO(1, "Voks af ryg", "Vi benytter enten almindelig varm voks eller sugaring", 60, 699.95m, _categories); _treatmentCtrl.Post(treatment); }
public void CleanUp() { DbCleanUp.CleanDB(); InsertTestData.InsertData(); }