コード例 #1
0
 // GET: api/Project
 public IHttpActionResult Gettbl_project()
 {
     try
     {
         var response = ptask.GetAllParentTasks();
         if (response != null)
         {
             return(Ok(response));
         }
         else
         {
             return(NotFound());
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }