예제 #1
0
        public void UpdateEventMilestone(EventMilestoneInputInfo eventMilestone)
        {
            var destinationEvent =
                _destinationRepository.Get(dest => dest.Id == eventMilestone.EventMilestoneId).FirstOrDefault();

            if (destinationEvent != null)
            {
                destinationEvent.TargetNumberOfDays = eventMilestone.TargetNumberOfDays;
            }
        }
 public async Task <IEnumerable <DestinationListResource> > Get()
 {
     return(await repo.Get());
 }