Esempio n. 1
0
        public async Task <List <string> > Categories()
        {
            try
            {
                var categories = await _partService.Categories();

                return(categories);
            }
            catch (Exception)
            {
                Response.StatusCode = 500;
                return(new List <string>());
            }
        }