public MagazineApplication( //IRepository<Category> categoryRepository, //IRepository<Item> itemRepository, IItemSummaryService itemSummaryService, ICategoryService categoryService) //IRepository<ItemContent> itemContentRepository) { //Guard.ArgumentNotNull(categoryRepository, "CategoryRepository"); //Guard.ArgumentNotNull(itemRepository, "ItemRepository"); Guard.ArgumentNotNull(itemSummaryService, "ItemSummaryService"); Guard.ArgumentNotNull(categoryService, "CategoryService"); //this._categoryRepository = categoryRepository; //this._itemRepository = itemRepository; this._itemSummaryService = itemSummaryService; this._categoryService = categoryService; //this._itemContentRepository = itemContentRepository; }
public MagazineApplication( //IRepository<Category> categoryRepository, //IRepository<Item> itemRepository, IItemSummaryService itemSummaryService, ICategoryService categoryService) //IRepository<ItemContent> itemContentRepository) { //Guard.ArgumentNotNull(categoryRepository, "CategoryRepository"); //Guard.ArgumentNotNull(itemRepository, "ItemRepository"); Guard.ArgumentNotNull(itemSummaryService, "ItemSummaryService"); Guard.ArgumentNotNull(categoryService, "CategoryService"); //this._categoryRepository = categoryRepository; //this._itemRepository = itemRepository; this._itemSummaryService = itemSummaryService; this._categoryService = categoryService; //this._itemContentRepository = itemContentRepository; }