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);
        }