public async Task Create(AddRecipientViewModel model) { var recipient = new Recipient(); recipient.Email = model.Email; await _repo.Create(recipient); }
public async Task <Recipient> Create(Recipient transaction) { return(await _repository.Create(transaction)); }