Ejemplo n.º 1
0
        public void AddOrUpdate(string EIN, string state)
        {
            var applicationSave = new ApplicationSave {
                EIN = EIN, ApplicationState = state
            };

            _repository.AddOrUpdate(applicationSave);
        }
Ejemplo n.º 2
0
        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);
        }