Beispiel #1
0
        private static void Main(string[] args)
        {
            var context = new MishMashContext();

            context.Database.Migrate();

            WebHost.Start(new StartUp());

            Console.WriteLine("Hello World!");
        }
Beispiel #2
0
 public UserService(MishMashContext context)
     : base(context)
 {
 }
Beispiel #3
0
 public ChannelsController(MishMashContext context, IUserService userService, IChannelService channelService)
 {
     this.context        = context;
     this.userService    = userService;
     this.channelService = channelService;
 }
Beispiel #4
0
 public ChannelService(MishMashContext context)
 {
     this.context = context;
 }
Beispiel #5
0
 public UserService(MishMashContext context, IHashService hashService)
 {
     this.context     = context;
     this.hashService = hashService;
 }
Beispiel #6
0
 public BaseService(MishMashContext context)
 {
     this.context = context;
 }
Beispiel #7
0
 public ChannelService(MishMashContext context)
     : base(context)
 {
 }
 protected BaseController()
 {
     this.db = new MishMashContext();
 }
Beispiel #9
0
 public UserService(MishMashContext context)
 {
     this.context = context;
 }