// GET: api/Artist
        public HttpResponseMessage GetAll()
        {
            Response <Artist> _response = _artist.GetAll();

            return(Request.CreateResponse(_response.statusCode, _response));
        }
Esempio n. 2
0
 // GET: api/Artist
 public Response <Artist> Get()
 {
     return(_artist.GetAll());
 }