public NoteController(Lazy<IUnitOfWork> unitOfWork, INoteConverter noteConverter) { Contract.Requires<ArgumentNullException>(unitOfWork != null); Contract.Requires<ArgumentNullException>(noteConverter != null); _unitOfWork = unitOfWork; _noteConverter = noteConverter; }
public CategoryConverter(INoteConverter noteConverter) { _noteConverter = noteConverter; }
public NoteService( LoconotesDbContext dbContext, INoteConverter noteConverter) { _dbContext = dbContext; _noteConverter = noteConverter; }