public async Task <IHttpActionResult> GetLotAsync(int id)
        {
            var lot = await _lotsService.GetLotAsync(id);

            if (lot == null)
            {
                return(NotFound());
            }
            return(Ok(lot));
        }
        public async Task GetLotAsyncTest()
        {
            var id = 1;

            _mockUnitWork.Setup(x => x.Lots.GetAsync(id)).ReturnsAsync(_lots[0]);

            var result = await _service.GetLotAsync(id);

            Assert.That(result, Is.Not.Null);
            Assert.That(result.LotId, Is.EqualTo(id));
        }