public static void Initialize() { System.Data.Entity.Database.SetInitializer(new ScrumerDBInitializer()); using (var db = new ScrumerContext()) { { db.Database.Initialize(true); } } }
public UserController(ScrumerContext context, IMapper mapper) { this.context = context; this.mapper = mapper; }