public async Task <ActionResult> DeleteAllUsers() { try { await _adminServices.DeleteAllUsers(); return(Ok()); } catch (ApplicationException ex) { return(BadRequest(new { message = ex.Message })); } }
public async Task <ActionResult> DeleteAllUsers() { try { await _adminServices.DeleteAllUsers(); return(Ok()); } catch (ApplicationException ex) { return(BadRequest(new { message = ex.Message })); } }