Beispiel #1
0
 public IActionResult AddUser(LoginModel model)
 {
     using (var db = new SlackDbContext())
     {
         db.Set <UserEntity>().Add(UserEntity.Create(model.Id, model.Pw));
     }
     return(View());
 }
Beispiel #2
0
 public WorkspaceController(SlackDbContext _context)
 {
     this._context = _context;
 }
Beispiel #3
0
 public GroupController(SlackDbContext _context)
 {
     this._context = _context;
 }
Beispiel #4
0
 public UserController(SlackDbContext _context)
 {
     this._context = _context;
 }
Beispiel #5
0
 public MessageController(SlackDbContext _context)
 {
     this._context = _context;
 }
Beispiel #6
0
 public ReplyController(SlackDbContext _context)
 {
     this._context = _context;
 }