public FubuContinuation post_new_user(NewUserInputModel input) { _transaction.WithRepository(x => x.Update(new User { Id = Guid.NewGuid(), FirstName = input.FirstName, LastName = input.LastName })); return(FubuContinuation.RedirectTo <HomeEndpoint>(x => x.Index())); }
public FubuContinuation post_new_user(NewUserInputModel input) { _transaction.WithRepository(x => x.Update(new User { Id = Guid.NewGuid(), FirstName = input.FirstName, LastName = input.LastName })); return FubuContinuation.RedirectTo<HomeEndpoint>(x => x.Index()); }