Skip to content

Instantly share code, notes, and snippets.

View ATaat's full-sized avatar

Alexander Taat ATaat

View GitHub Profile
@ATaat
ATaat / MigrationController.cs
Created April 15, 2020 14:03
Umbraco 7 Migration
using Umbraco.Web.WebApi;
[UmbracoAuthorize]
public class MigrationController : UmbracoAuthorizedApiController
{
public Result GetStartMigration()
{
try
{
Migrate();