public ToDoItemServiceTests() { var fakeToDoRepo = new FakeToDoItemRepository(); var fakeUserRepo = new FakeUserRepository(); _toDoItemService = new ToDoItemService(fakeToDoRepo, fakeUserRepo); }
public KanbanCreate() { InitializeComponent(); // _userService = new UserManager(new EfUserDal()); _toDoListService = new ToDoListManager(new EfToDoListDal()); _toDoItemService = new ToDoItemManager(new EfToDoItemDal()); }
public ToDoItemListService(IUnitOfWork uoW, IToDoItemListRepository rep, IToDoItemService itemService, ILoggerService logger) { _repository = rep; _unitOfWork = uoW; _toDoItemService = itemService; _loggerService = logger; }
public ToDoItemViewModel( IToDoItemService toDoItemService, INavigationService navigationService, IEntityMapper entityMapper) { this.toDoItemService = toDoItemService; this.navigationService = navigationService; this.entityMapper = entityMapper; item = new ToDoItemDetailModel(); }
/// <summary> /// Initializes a new instance of the <see cref="AssessmentQuery"/> class. /// </summary> /// <param name="service">The service.</param> /// <param name="labelService">The label service.</param> /// <param name="todoListService">The todo list service.</param> public AssessmentQuery(IToDoItemService service, ILabelService labelService, IToDoListService todoListService, IUserService userService) { _todoitemService = service; _labelService = labelService; _todolistService = todoListService; _userService = userService; pagingDto = new Contract.Core.Contract.PagingDTO { PageIndex = 0, PageSize = 0, SearchString = null }; }
public ToDoItemsViewModel(INavigationService navigationService, IToDoItemService toDoItemService) { this.navigationService = navigationService; this.toDoItemService = toDoItemService; ItemSelectedCommand = new Command <ToDoItemModel>(HandleItemSelectedAsync); RemoveItemCommand = new Command <ToDoItemModel>(HandleRemoveItem); ShowOrHideItemDescriptionCommand = new Command <ToDoItemModel>(ShowOrHideItemDescription); AddItemCommand = new Command(HandleAddItemAsync); }
public ProfileViewModel(INavigationService navigationService, IToDoItemService toDoItemService) { this.navigationService = navigationService; this.toDoItemService = toDoItemService; ItemSelectedCommand = new Command <ToDoItemModel>(HandleItemSelectedAsync); OpenToDoItemsCommand = new Command <ToDoItemStatus>(OpenToDoItems); ShowOrHideItemDescriptionCommand = new Command <ToDoItemModel>(ShowOrHideItemDescription); AddItemCommand = new Command(HandleAddItemAsync); }
public ToDoController(IToDoItemService todoItemsService, UserManager <ApplicationUser> userManager) { _toDoItemService = todoItemsService; _userManager = userManager; }
public ToDoController(IToDoTitleService toDoTitleService, IToDoItemService toDoItemService, IToDoTitleDal toDoTitleDal) { _toDoTitleService = toDoTitleService; _toDoItemService = toDoItemService; _toDoTitleDal = toDoTitleDal; }
public ToDoController(IToDoItemService toDoItems) { _toDoItemService = toDoItems; }
public ToDoController(IToDoItemService toDoItemService) { this._toDoItemService = toDoItemService ?? throw new ArgumentNullException(nameof(toDoItemService)); }
public ItemController(IToDoItemListService taskListService, IToDoItemService taskService) { _taskListService = taskListService; _taskService = taskService; }
public ToDoItemController(IToDoItemService _toDoItemService, IToDoItemStatusService _toDoItemStatusService, IToDoItemUserService _toDoItemUserService) { toDoItemService = _toDoItemService; toDoItemStatusService = _toDoItemStatusService; toDoItemUserService = _toDoItemUserService; }
public ToDoController(IToDoItemService _ctx) { dbctx = _ctx; }
/// <summary> /// Initializes a new instance of the <see cref="ToDoItemController"/> class. /// </summary> /// <param name="logger">The logger.</param> /// <param name="ToDoItemService">To do item service.</param> public ToDoItemController(Framework.Core.ILogger logger, IToDoItemService toDoItemService, IMapper mapper) { _logger = logger; _toDoItemService = toDoItemService; _mapper = mapper; }
public ToDoService() { ToDoItemServiceFactory toDoServiceFactory = new ToDoItemServiceFactory(); ToDoItemService = toDoServiceFactory.CreateInstance(); }
/// <summary> /// Initializes a new instance of the <see cref="Mutation"/> class. /// </summary> /// <param name="labelService">The label service.</param> /// <param name="todoItemService">The todo item service.</param> /// <param name="todolistservice">The todolistservice.</param> public Mutation(ILabelService labelService, IToDoItemService todoItemService, IToDoListService todolistservice) { _labelService = labelService; _todoItemService = todoItemService; _todoListService = todolistservice; }
public MarkedFilterController(IToDoItemListService taskListService, IToDoItemService taskService) { _taskListService = taskListService; _taskService = taskService; }
public ToDoItemController(IToDoItemService toDoItemService, ILogger <UserController> logger) { _toDoItemService = toDoItemService; _logger = logger; }
public HomeController(IToDoItemService toDoItemService) { this.toDoItemService = toDoItemService; }
public ToDoItemService() { toDoItemDbService = new DAL.Services.ToDoItemService(apiSettings.ConnectionString); }
public ToDoController(IToDoItemService service) { _toDoItemService = service; }
public ItemsController(IToDoItemService itemService) { _itemService = itemService; }
public OrderController(IToDoItemService taskService) { _taskService = taskService; }
public ToDoController(IToDoItemService itemService, UserManager <ApplicationUser> manager) { toDoItemService = itemService; userManager = manager; }
public ToDoItemsController(IToDoItemService toDoItemService, IMapper mapper) { _toDoItemService = toDoItemService; _mapper = mapper; }
public TodoItemController(IToDoItemService toDoItemService) { this.toDoItemService = toDoItemService; }
public ToDoController(IToDoItemService toDoItemService, UserManager <IdentityUser> userManager) { _toDoItemService = toDoItemService; _userManager = userManager; }
public ToDoItemController(IToDoItemService service, IOptions <PagingOptions> defaultPagingOptions) { _toDoItemService = service; _defaultPagingOptions = defaultPagingOptions.Value; }
public ToDoItemController(IToDoItemService toDoItemService) { _toDoItemService = toDoItemService; }
public HomeController(IToDoListService toDoListService, IToDoItemService toDoItemService) { _toDoListService = toDoListService; _toDoItemService = toDoItemService; }