No doubt I'm missing the obvious somewhere. I need to create a note by the current user ...
- Code: Select all
var note = new Note() { NoteText = "MY NOTE TEXT", LastModifiedByStaffMember = Manager.Instance.Staff, LastSavedDateTime = DateTime.Now, NoteType = _creditorForm.Creditor.Notes.DefaultNoteType };
_creditorForm.Creditor.Notes.Add(note);
But I cannot implicitly convert type 'JiwaFinancials.Jiwa.JiwaApplication.JiwaStaff.clsStaff' to 'JiwaFinancials.Jiwa.JiwaApplication.Entities.Staff.Staff'. How do I get the Entity.Staff of the current user?
Cheers,
Neil.