コード例 #1
0
        public bool Delete(int Id)
        {
            SchoolAdminRepository adminRepository = new SchoolAdminRepository();

            return(adminRepository.Delete(Id));
        }
コード例 #2
0
        public SchoolAdmin Get(int Id)
        {
            SchoolAdminRepository adminRepository = new SchoolAdminRepository();

            return(adminRepository.Get(Id));
        }
コード例 #3
0
        public bool Put(SchoolAdmin admin)
        {
            SchoolAdminRepository adminRepository = new SchoolAdminRepository();

            return(adminRepository.Put(admin));
        }
コード例 #4
0
        public List <SchoolAdmin> Get()
        {
            SchoolAdminRepository adminRepository = new SchoolAdminRepository();

            return(adminRepository.GetAll());
        }