예제 #1
0
 public ResourceResult Post(AddRepeatingGigUrl url, RepeatingGigViewModel input)
 {
     var repeatingGig = repeatingGigs.SaveRepeating(input.AsRepeatingGig());
     input.Id = repeatingGig.Id;
     return SeeOther(new HomeUrl()).AsHtml();
 }
예제 #2
0
 public ResourceResult Get(AddRepeatingGigUrl url)
 {
     return OK(new RepeatingGigViewModel()).AsHtml();
 }