public GenericService(ITodoContext context, IMapper mapper) { _context = context; _repository = _context.Set <TEntity>(); _mapper = mapper; }
public GetAllTodoListsQueryHandler(ITodoContext context) { _context = context; _repository = _context.Set <Entities.TodoList>(); }