AjaxWithWebService.Controllers.DeliverDataController.GetArtists C# (CSharp) 메소드

GetArtists() 개인적인 메소드

private GetArtists ( ) : IHttpActionResult
리턴 IHttpActionResult
        public IHttpActionResult GetArtists()
        {
            var c = m.ArtistGetAll();

            // Attention - 6 - The return type is the collection (or object) type...
            // The request-handling framework automatically marshalls 
            // the collection type into plain-text JSON 
            return Ok(c);
        }