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