public void GetAllLots_works_Properly() { string errorMessagePrefix = "NomenclaturesServices GetAllLots() method does not work properly."; var mapper = new Mock <IMapper>(); var context = OilsProDbContextInMemoryFactory.InitializeContext(); this.nomenclaturesService = new NomenclaturesServices(context, mapper.Object); //var result = nomenclaturesService.All(); }
public NomenclaturesController(INomenclaturesService nomenclaturesService, IReceiverService receiverService, IMapper mapper) { _nomenclaturesService = nomenclaturesService; _receiverService = receiverService; _mapper = mapper; }
public NomenclaturesController(INomenclaturesService nomService) { this.nomService = nomService; }