public StaffController(IStaffServices staffServices, IStaff staff, IDesigantionServices designationServices) { _Staff = new Staff(); _IStaff = staff; _IStaffServices = staffServices; _IDesigantionServices = designationServices; }
protected override void Dispose(bool isDisposing) { if (isDisposing) { _IDesigantionServices = null; _IStaff = null; _IStaffServices = null; } }