public ChecklistController(ILogger <ChecklistController> logger, ContextEntity context) { _logger = logger; _context = new ChecklistRepositoryEntity(context); _contextAppointment = new AppointmentRepositoryEntity(context); _save = new CheckListSaveService(_contextAppointment); _list = new ChekListListService(_context); _delete = new CheckListDeleteService(_context); }
public void Setup() { this._repository = new FakeCheckListRepository(); this._service = new CheckListDeleteService(_repository); }