Exemplo n.º 1
0
        public Student GetStudent(string id = "")
        {
            StudentRepo repo = new StudentRepo();

            return(repo.RetrieveById(id));
        }
Exemplo n.º 2
0
        public Student GetStudentForm6(string id = "")
        {
            StudentRepo repo = new StudentRepo();

            return(repo.RetrieveWithConcurrency(id));
        }
Exemplo n.º 3
0
        public bool ModifyStudent(Student student)
        {
            StudentRepo repo = new StudentRepo();

            return(repo.Update(student));
        }
Exemplo n.º 4
0
        public bool MakePayment(string id, string name, decimal pay)
        {
            StudentRepo repo = new StudentRepo();

            return(repo.MakePayment(id, name, pay));
        }
Exemplo n.º 5
0
        internal void UpdatePriceMissing(string id)
        {
            StudentRepo repo = new StudentRepo();

            repo.UpdateAmmountMissing(id);
        }
Exemplo n.º 6
0
        internal void UpdatePrice(string id)
        {
            StudentRepo repo = new StudentRepo();

            repo.UpdateAmmountDue(id);
        }
Exemplo n.º 7
0
        public Student GetStudentByResourceId(string id)
        {
            StudentRepo repo = new StudentRepo();

            return(repo.RetrieveByResourceId(id));
        }