コード例 #1
0
 public IHttpActionResult GetByUsername(string username)
 {
     if (parentsService.ExistsUsername(username) == false)
     {
         return(NotFound());
     }
     return(Ok(parentsService.GetByUsername(username)));
 }