Example #1
0
        public GetRewardResponseDto GetAllReward()
        {
            var response = new GetRewardResponseDto();

            if (!AppConfigReaderHelper.AppConfigToBool(AppSettingKeys.MockEnabled))
            {
                response.Rewards = _iPmsLogic.GetAllReward();
            }
            else
            {
                //mock data
            }
            return(response);
        }