Exemple #1
0
 public void Update(DeveloperAccountDTO accountIn) =>
 _db.ReplaceOne(account => account.Email == accountIn.Email, accountIn);
Exemple #2
0
 public void Remove(DeveloperAccountDTO accountIn) =>
 _db.DeleteOne(account => account.Email == accountIn.Email);
Exemple #3
0
 public DeveloperAccountDTO Create(DeveloperAccountDTO account)
 {
     _db.InsertOne(account);
     return(account);
 }