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

            try
            {
                result = await _iUsersServices.DeleteByIdServices(userId);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(result);
        }