public static ContactFirmViewModel Create(IList <ContactFirms> contactFirms, IList <KeyValuePair <string, string> > errors, bool alreadyImported) { var viewModel = new ContactFirmViewModel() { ContactFirms = contactFirms, Errors = errors, AlreadyImported = alreadyImported }; return(viewModel); }
public static ContactFirmViewModel Create(IList<ContactFirms> contactFirms, IList<KeyValuePair<string, string>> errors, bool alreadyImported) { var viewModel = new ContactFirmViewModel(){ContactFirms = contactFirms, Errors = errors, AlreadyImported = alreadyImported}; return viewModel; }