Пример #1
0
        public async Task Create(AddRecipientViewModel model)
        {
            var recipient = new Recipient();

            recipient.Email = model.Email;
            await _repo.Create(recipient);
        }
Пример #2
0
 public async Task <Recipient> Create(Recipient transaction)
 {
     return(await _repository.Create(transaction));
 }