Beispiel #1
0
 public IActionResult Index(Guid id)
 {
     try
     {
         var member = _dal.GetMember(id);
         return(member != null ? (IActionResult)Ok(member) : NoContent());
     }
     catch (Exception e)
     {
         return(BadRequest(e));
     }
 }