Ejemplo n.º 1
0
        public async Task <ActionResult> AddDesigns(int id, int?quantity)
        {
            if (quantity == null)
            {
                return(BadRequest());
            }

            await _designService.AddDesignAsync(id, (int)quantity);

            return(Ok());
        }