コード例 #1
0
        public Department Create(Department department)
        {
            EDepartment eDepartment = EDepartment(department);

            eDepartment = _iDDepartment.Create(eDepartment);
            return(Department(eDepartment));
        }
コード例 #2
0
        public Department Create(int createdBy, Department department)
        {
            EDepartment eDepartment = EDepartment(department);

            eDepartment.CreatedDate = DateTime.Now;
            eDepartment.CreatedBy   = createdBy;
            eDepartment             = _iDDepartment.Create(eDepartment);
            return(Department(eDepartment));
        }