public async Task <ActionResult <BinTypeDto> > CreateBinType(CreateBinTypeDto createBinTypeDto)
        {
            var binType = new BinType
            {
                TypeName = createBinTypeDto.TypeName
            };

            _binTypeRepository.AddBinType(binType);

            if (await _binTypeRepository.SaveAllAsync())
            {
                return(Ok(_mapper.Map <BinTypeDto>(binType)));
            }

            return(BadRequest("Failed to add bin type."));
        }