Esempio n. 1
0
        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();
        }
Esempio n. 2
0
 public NomenclaturesController(INomenclaturesService nomenclaturesService, IReceiverService receiverService, IMapper mapper)
 {
     _nomenclaturesService = nomenclaturesService;
     _receiverService      = receiverService;
     _mapper = mapper;
 }
Esempio n. 3
0
 public NomenclaturesController(INomenclaturesService nomService)
 {
     this.nomService = nomService;
 }