public void Update() { var accountDevice = new AccountDeviceUpdateSchema { Id = 15, StatusId = Status.Active.ToInt() }; _accountDeviceService.UpdateAsync(accountDevice).GetAwaiter().GetResult(); Assert.IsTrue(accountDevice.StatusCode == 200); }
public async Task UpdateAsync(AccountDeviceUpdateSchema accountDevice) { await _storedProcedure.ExecuteAsync(accountDevice); }