示例#1
0
 public IHttpActionResult GetOtherProjectsByUserId(string userId)
 {
     if (string.IsNullOrEmpty(userId))
     {
         return(BadRequest("A user id must exist"));
     }
     return(Ok(_dataAccess.GetOtherProjectsByUserId(userId)));
 }