public IHttpActionResult GetByTeam(long id) { IQueryable <Activity> items = AL.GetByTeam(id); if (items == null) { return(NotFound()); } return(Ok(items.ToList())); }
public IHttpActionResult GetByTeam(long id) { IQueryable <Activity> items = AL.GetByTeam(id); if (items == null) { return(NotFound()); } return(Ok(items.ToList())); }