BrokenShoeLeague.Web.API.Controllers.PlayersController.GetPlayers C# (CSharp) Method

GetPlayers() private method

private GetPlayers ( ) : IHttpActionResult
return IHttpActionResult
        public IHttpActionResult GetPlayers()
        {
            return Ok(_brokenShoeLeagueRepository.GetAllPlayers().Select(p=>new
            {
                p.Id,
                p.Name,
                p.ImageProfileUrl,
                p.Enabled
            }));
        }