public async Task <List <string> > Categories() { try { var categories = await _partService.Categories(); return(categories); } catch (Exception) { Response.StatusCode = 500; return(new List <string>()); } }