Esempio n. 1
0
 public ResourceResult Post(AddUrl url, ManageViewModel input)
 {
     gigStorer.Save(input.AsGig());
     return SeeOther(new ListUrl()).AsHtml();
 }
Esempio n. 2
0
 public ResourceResult Post(EditUrl url, ManageViewModel input)
 {
     var gig = gigStorer.Save(input.AsGig());
     input.Id = gig.Id;
     return OK(input).AsHtml();
 }