Ejemplo n.º 1
0
 public async Task Register(RegisterDto model)
 {
     var account = new Account
     {
         Id           = Guid.NewGuid().ToString(),
         Email        = model.Email,
         Password     = model.Password,
         MobileNumber = model.MobileNumber,
         Name         = model.Name
     };
     await _accountRepository.Add(account);
 }