private static void Main(string[] args) { var context = new MishMashContext(); context.Database.Migrate(); WebHost.Start(new StartUp()); Console.WriteLine("Hello World!"); }
public UserService(MishMashContext context) : base(context) { }
public ChannelsController(MishMashContext context, IUserService userService, IChannelService channelService) { this.context = context; this.userService = userService; this.channelService = channelService; }
public ChannelService(MishMashContext context) { this.context = context; }
public UserService(MishMashContext context, IHashService hashService) { this.context = context; this.hashService = hashService; }
public BaseService(MishMashContext context) { this.context = context; }
public ChannelService(MishMashContext context) : base(context) { }
protected BaseController() { this.db = new MishMashContext(); }
public UserService(MishMashContext context) { this.context = context; }