public void AddOrUpdate(string EIN, string state) { var applicationSave = new ApplicationSave { EIN = EIN, ApplicationState = state }; _repository.AddOrUpdate(applicationSave); }
public void AddOrUpdate(string id, string applicationId, string employerId, string state) { var applicationSave = new ApplicationSave(); if (employerId != null) { applicationSave.Employer_Id = employerId; } applicationSave.Id = id; applicationSave.ApplicationId = applicationId; applicationSave.ApplicationState = state; _repository.AddOrUpdate(applicationSave); }