public async Task DeleteNotificationsAsync(IdentitiesDto dto) { if (dto != null) { foreach (int i in dto.Ids) { await DeleteNotificationAsync(i); } } }
public async Task DeleteUsersAsync(IdentitiesDto dto) { if (dto == null) { return; } foreach (var i in dto.Ids) { await DeleteUserAsync(i); } }
public async Task MultiDeleteAsync(IdentitiesDto contactIds) { if (contactIds == null) { return; } foreach (int contactId in contactIds.Ids) { await DeleteAsync(contactId); } }
public async Task <IActionResult> MultiDelete(IdentitiesDto actorIds) { await _actorService.DeleteActorsAsync(actorIds); return(Success()); }
public async Task <IActionResult> MultiDelete([FromBody] IdentitiesDto notificationIds) { await _notificationService.DeleteNotificationsAsync(notificationIds); return(Success()); }
public async Task <IActionResult> MultiDelete(IdentitiesDto contactIds) { await _contactService.MultiDeleteAsync(contactIds); return(Success()); }
public async Task <IActionResult> MultiDelete(IdentitiesDto userIds) { await _userService.DeleteUsersAsync(userIds); return(Success()); }