Exemplo n.º 1
0
        private static void Main(string[] args)
        {
            var context = new MishMashContext();

            context.Database.Migrate();

            WebHost.Start(new StartUp());

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