Exemple #1
0
        /// <summary>
        /// Get last userMatch for user
        /// </summary>
        public async Task <UserMatchInfo> GetLastMatch(string userAadId)
        {
            var searchDate    = DateTime.UtcNow.AddDays(-1 * Constants.FeedBackDelayDays);
            var lastUserMatch =
                await dataProvider.UserMatchInfoSearchByDateAndUser(
                    searchDate,
                    userAadId);

            return(lastUserMatch);
        }