public async Task Test_DeleteMGA() { var guid = await SeedMGAData(); var newmga = await _manager.GetById(guid.ToString()); Assert.IsNotNull(newmga); int ret = await _manager.Delete(guid); Assert.AreEqual(1, ret); newmga = await _manager.GetById(guid.ToString()); Assert.IsNull(newmga); }
public async Task <int> Delete(string id) { return(await _carrierManager.Delete(id)); }
public async Task <int> Delete([FromRoute] string id) { return(await _advisorManager.Delete(id)); }
public async Task <int> Delete([FromRoute] string id) { return(await _contractsManager.Delete(id)); }
public async Task <int> Delete(string id) { return(await _mgamanager.Delete(id)); }