Beispiel #1
0
        public HttpResponseMessage Search([FromUri] SquadSearchRequest model)
        {
            List <Squad> squads = _squadService.Search(model);
            SearchResponse <Squad>
            response = new SearchResponse <Squad>();

            response.Items = squads;

            return(Request.CreateResponse(HttpStatusCode.OK, response));
        }