Exemplo n.º 1
0
 //
 //Summary:
 // This Method Check the Department is Exists or not and the Add to the Databae.
 public bool AddDepartmentByCollege(CollegeDepartment collegeDepartment)
 {
     if (departmentRepository.CheckExistsDepartment(collegeDepartment.DeptId, collegeDepartment.CollegeCode) == null)
     {
         departmentRepository.AddDepartmentByCollege(collegeDepartment);
         return(true);
     }
     return(false);
 }