public async Task <int> DeleteByIdUser(int userId) { try { return(await _iUsersServices.DeleteByIdServices(userId)); } catch (Exception ex) { throw ex; } }
public async Task <int> DeleteByIdUser(int userId) { int result = 0; try { result = await _iUsersServices.DeleteByIdServices(userId); } catch (Exception ex) { throw ex; } return(result); }