public WhatsNewController( IEzbobWorkplaceContext context, IWhatsNewCustomerMapRepository whatsNewCustomerMapRepository, IWhatsNewRepository whatsNewRepository ) { this.context = context; this.whatsNewCustomerMapRepository = whatsNewCustomerMapRepository; this.whatsNewRepository = whatsNewRepository; } // constructor
public WhatsNewService(IWhatsNewRepository whatsnewRepository) { this.whatsnewRepository = whatsnewRepository; }