Example #1
0
        public bool Save(Domain.Soft.patients pat)
        {
            bool result = false;

            Infraestructura.Soft.Repository.RepositoryPatients ss = new Infraestructura.Soft.Repository.RepositoryPatients();
            result = ss.Save(pat);
            return(result);
        }
Example #2
0
        public bool Save(List <Domain.Soft.patients> paciente)
        {
            bool result = false;

            Infraestructura.Soft.Repository.RepositoryPatients ss = new Infraestructura.Soft.Repository.RepositoryPatients();
            foreach (var pat in paciente)
            {
                result = ss.Save(pat);
            }
            return(result);
        }