internal static void RemoveMemory(Customer objectValue)
 {
     if (DicCustomer.ContainsKey(objectValue.Id))
     {
         DicCustomer.Remove(objectValue.Id);
     }
 }
 public static bool IsExistCustomer(int id)
 {
     if (DicCustomer.ContainsKey(id))
     {
         return(true);
     }
     return(false);
 }
 public static Customer GetCustomer(int id)
 {
     if (DicCustomer.ContainsKey(id))
     {
         return(DicCustomer[id].Clone() as Customer);
     }
     LogTo.Error("Not get Customer by id = " + id);
     return(null);
 }