//[Authorize] public IHttpActionResult Get() { try { return(Ok(_categoryApplicationService.GetAllCategories())); } catch (Exception exception) { return(InternalServerError()); } }