public BirthdayEventCommandResult OnContactDeleted(StoreObjectId birthdayContactStoreObjectId, IStoreSession storeSession) { ExTraceGlobals.BirthdayAssistantBusinessLogicTracer.TraceDebug((long)this.GetHashCode(), "OnContactDeleted"); BirthdayEventCommandResult birthdayEventCommandResult = this.OnContactDeleted(birthdayContactStoreObjectId, new BirthdaysContainer(storeSession, null)); ExTraceGlobals.BirthdayAssistantBusinessLogicTracer.TraceDebug <BirthdayEventCommandResult>((long)this.GetHashCode(), "OnContactDeleted: birthday event was <{0}>", birthdayEventCommandResult); return(birthdayEventCommandResult); }
public BirthdayEventCommandResult OnContactModified(IBirthdayContact birthdayContact, IStoreSession storeSession) { ExTraceGlobals.BirthdayAssistantBusinessLogicTracer.TraceDebug((long)this.GetHashCode(), "OnContactModified: started"); BirthdaysContainer birthdaysContainer = new BirthdaysContainer(storeSession, null); BirthdayEventCommandResult result = this.OnContactModified(birthdayContact, birthdaysContainer); ExTraceGlobals.BirthdayAssistantBusinessLogicTracer.TraceDebug((long)this.GetHashCode(), "OnContactModified: finished"); return(result); }