Ejemplo n.º 1
0
 public Attachment(AttachmentFields attachmentFields,int? applicantId, Applicant applicant,int? historyId, History history)
     : base(attachmentFields.Name, attachmentFields.Type, attachmentFields.Attach)
 {
     ApplicantId = applicantId;
     Applicant = Applicant;
     HistoryId = historyId;
     History = history;
 }
Ejemplo n.º 2
0
 public void InitHistories()
 {
     Applicant = new ApplicantWeb.Models.Applicant();
     HistoryFields = new HistoryFields(new DateTime(2015, 09, 15), ApplicantClassLibrary.TypeHistory.Interview, "Здорово!!!");
     HistoryCreate = new HistoryCreate(HistoryFields, Applicant.ApplicantId, Applicant);
     History = new History(HistoryCreate);
     HistoryEdit = new HistoryEdit(HistoryFields);
 }
        public void InitAttachments()
        {
            Attachment1 = new Attachment();

            AttachmentFields = new AttachmentFields("Файл",".txt",null);
            Applicant=new ApplicantWeb.Models.Applicant();
            Attachment2 = new Attachment(AttachmentFields,Applicant.ApplicantId,Applicant);

            History = new History();
            Attachment3 = new Attachment(AttachmentFields,Applicant.ApplicantId, Applicant, History.HistoryId, History);
        }