コード例 #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();
 }