public async Task <Address> AddAddressAsync(Address address)
 {
     return(await _addressDal.AddAsync(address));
 }
コード例 #2
0
        public async Task <IResult> Add(Address address)
        {
            await _addressDal.AddAsync(address);

            return(new SuccessResult(Messages.AddressAdded));
        }