public static object GetMaxId(string entityName, string fieldName)
 {
     try
     {
         var getListEntityDao = new GetListEntityDao();
         return(getListEntityDao.GetMaxId(entityName, fieldName));
     }
     catch (Exception ex)
     {
         LogTo.Error(ex.ToString());
     }
     return(null);
 }