Пример #1
0
 public DataResult <int> GetNonAuthenticationUsersByRoleCount(int roleId, string searchByName)
 {
     try
     {
         var usersCount = m_userUoW.GetNonAuthenticationServiceUsersByRoleCount(roleId, searchByName);
         return(Success(usersCount));
     }
     catch (DatabaseException e)
     {
         m_logger.LogWarning(e);
         return(Error <int>(e.Message));
     }
 }