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