コード例 #1
0
 //[Authorize]
 public IHttpActionResult Get()
 {
     try
     {
         return(Ok(_categoryApplicationService.GetAllCategories()));
     }
     catch (Exception exception)
     {
         return(InternalServerError());
     }
 }