public UsersController(/*TeamBoardApiServerContext context*/)
        {
            var context = new TeamBoardApiServerContext();

            _context = context;

            /*_context.Boards.Add(new Board
             * {
             *  Description = "Board 3",
             *  Owner = _context.Users.Find(Guid.Parse("45e3d615-5fbd-4d89-d708-08d6bfa945f1"))
             * });
             *
             * _context.SaveChanges();*/
        }
Exemplo n.º 2
0
        public BoardsController(/*TeamBoardApiServerContext context*/)
        {
            var context = new TeamBoardApiServerContext();

            _context = context;
        }