public async Task <IActionResult> ContactDeleteByIdAsync(int id) { var req = new ContactDeleteByIdRequest { Id = id, CurrentUser = User.CurrentUserName() }; var result = await _contactManager.DeleteContactByIdAsync(req); return(Ok(result)); }
public async Task <IActionResult> ContactDeleteByIdAsync(int id) { var req = new ContactDeleteByIdRequest { Id = id, CurrentUser = User.CurrentUserName() }; var result = await _contactManager.DeleteContactByIdAsync(req); return(Ok(result)); }