public async Task <IActionResult> GetAllAsync()
        {
            var result = await _orderLineService.GetAllAsync();

            if (result.Status == Status.Error || result.Data.Count() == 0)
            {
                return(BadRequest(JsonSerializer.Serialize(new ErrorModel
                {
                    Message = "Herhangi bir veri bulunmamaktadir!"
                })));
            }

            var model = JsonSerializer.Serialize(_mapper.Map <IEnumerable <OrderLineDto> >(result.Data));

            return(Ok(model));
        }