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