// GET: api/Artist/5
        public HttpResponseMessage Get(int id)
        {
            Response <Artist> _response = _artist.Get(id);

            return(Request.CreateResponse(_response.statusCode, _response));
        }
Exemple #2
0
 // GET: api/Artist/5
 public Response <Artist> Get(int id)
 {
     return(_artist.Get(id));
 }