public void GivenIAddTheTimePeriodParametersforDaysStartingToday(int days)
        {
            var val = TimePeriodHelper.GetTimePeriodStartDateTodayEndDateDays(days);

            Given($"I add the parameter \"start\" with the value \"{val.Start}\"");
            Given($"I add the parameter \"end\" with the value \"{val.End}\"");
        }
        public void GivenIAddTheTimePeriodParametersforDaysStartingTodayWithStartEndPrefix(int days, string startDatePrefix, string endDatePrefix)
        {
            var val = TimePeriodHelper.GetTimePeriodStartDateTodayEndDateDays(days);

            Given($"I add the parameter \"start\" with the value \"{startDatePrefix}{val.Start}\"");
            Given($"I add the parameter \"end\" with the value \"{endDatePrefix}{val.End}\"");
        }
예제 #3
0
 public void AddATimePeriodParameterWithStartDateTodayAndEndDateInDays(int days)
 {
     _httpContext.HttpRequestConfiguration.BodyParameters.Add(FhirConst.GetCareRecordParams.kStartDate, TimePeriodHelper.GetTimePeriodStartDateTodayEndDateDays(days));
 }