..\Presentation\Nop.Web\Plugins\Misc.FavoriteCategories\
private readonly FavoriteCategoriesObjectContext _context;
private readonly IFavoriteCategoriesService _favoriteCategoriesService;
private readonly IOrderService _orderService;
private readonly ISettingService _settingService;
public FavoriteCategoriesPlugin(FavoriteCategoriesObjectContext context, IFavoriteCategoriesService favoriteCategoryService, IOrderService orderService, ISettingService settingService)
{
_context = context;
_favoriteCategoriesService = favoriteCategoryService;
_orderService = orderService;
_settingService = settingService;
}
try
{
x.HandleEvent(eventMessage);
}
catch (Exception)
{
//TODO:Log this some how. We can't reference the ILogger because the interface exists in another assembly. Maybe we can move all interfaces to Nop.Core and all the implemntes to Nop.Services?
}
..\Presentation\Nop.Web\Plugins\Misc.FavoriteCategories\
private readonly FavoriteCategoriesObjectContext _context;
private readonly IFavoriteCategoriesService _favoriteCategoriesService;
private readonly IOrderService _orderService;
private readonly ISettingService _settingService;
public FavoriteCategoriesPlugin(FavoriteCategoriesObjectContext context, IFavoriteCategoriesService favoriteCategoryService, IOrderService orderService, ISettingService settingService)
{
_context = context;
_favoriteCategoriesService = favoriteCategoryService;
_orderService = orderService;
_settingService = settingService;
}
try
{
x.HandleEvent(eventMessage);
}
catch (Exception)
{
//TODO:Log this some how. We can't reference the ILogger because the interface exists in another assembly. Maybe we can move all interfaces to Nop.Core and all the implemntes to Nop.Services?
}