public bool Delete(int Id) { SchoolAdminRepository adminRepository = new SchoolAdminRepository(); return(adminRepository.Delete(Id)); }
public SchoolAdmin Get(int Id) { SchoolAdminRepository adminRepository = new SchoolAdminRepository(); return(adminRepository.Get(Id)); }
public bool Put(SchoolAdmin admin) { SchoolAdminRepository adminRepository = new SchoolAdminRepository(); return(adminRepository.Put(admin)); }
public List <SchoolAdmin> Get() { SchoolAdminRepository adminRepository = new SchoolAdminRepository(); return(adminRepository.GetAll()); }