public FubuContinuation post_albums_new(CreateAlbum input) { var album = new Album { Artist = input.Artist, Name = input.Name }; _repository.Update(album); // TODO -- this needs to default to GET return FubuContinuation.RedirectTo(album, "GET"); }
public Album post_album(Album album) { _repository.Update(album); return album; }
public Album get_album_Id(Album album) { return _repository.Find<Album>(album.Id); }