/// <summary>
        /// Gets all offensive rankings for the selected season
        /// </summary>
        /// <param name="seasonID">The ID of the selected season</param>
        /// <returns>The result of the stored procedure execution</returns>
        public ObjectResult <GetRankingsOffensive_Result> GetRankingsOffensive(int?seasonID)
        {
            try
            {
                return(_dbContext.GetRankingsOffensive(seasonID));
            }
            catch (Exception ex)
            {
                _log.Error(ex.Message);

                throw;
            }
        }
        public static void SetUpFakeRankingsOffensive(this ProFootballEntities dbContext,
                                                      IEnumerable <GetRankingsOffensive_Result> offensiveRankingsEnumerable = null)
        {
            if (offensiveRankingsEnumerable == null)
            {
                offensiveRankingsEnumerable = new List <GetRankingsOffensive_Result>();
            }
            var offensiveRankingsQueryable = offensiveRankingsEnumerable.AsQueryable();

            var fakeObjectResult = A.Fake <ObjectResult <GetRankingsOffensive_Result> >(d =>
                                                                                        d.Implements(typeof(IEnumerable <GetRankingsOffensive_Result>)));

            // Setup all IEnumerable methods using what you have from "seasonStandings"
            A.CallTo(
                () => (fakeObjectResult as IEnumerable <GetRankingsOffensive_Result>).GetEnumerator())
            .Returns(offensiveRankingsQueryable.GetEnumerator());

            // Do the wiring between DbContext and ObjectResult
            A.CallTo(() => dbContext.GetRankingsOffensive(A <int> .Ignored)).Returns(fakeObjectResult);
        }