Exemplo n.º 1
0
        public void Create(Department departmennt)
        {
            DepartmentRepository repository = new DepartmentRepository();

            repository.CreateNew(departmennt);
        }
Exemplo n.º 2
0
        public void SaveDepartment(Department d)
        {
            DepartmentRepository repository = new DepartmentRepository();

            repository.CreateNew(d);
        }