コード例 #1
0
 public DataResult <int> GetUsersCount(string searchByName)
 {
     try
     {
         var usersCount = m_userUoW.GetUsersCount(searchByName);
         return(Success(usersCount));
     }
     catch (DatabaseException e)
     {
         m_logger.LogWarning(e);
         return(Error <int>(e.Message));
     }
 }