示例#1
0
        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"));
        }
示例#2
0
 public CreateAlbum get_albums_new(CreateAlbum album)
 {
     return(album);
 }