Пример #1
0
        public async Task <Boolean> DeleteGrade(string login, string password, int id)
        {
            bool success;
            HandbookGradeService handbookGradeService = new HandbookGradeService();

            success = await handbookGradeService.Delete(login, password, id);

            return(success);
        }
Пример #2
0
 public async Task AddGrade(string login, string password, HandbookGrade handbookGrade)
 {
     HandbookGradeService handbookGradeService = new HandbookGradeService();
     await handbookGradeService.Add(login, password, handbookGrade);
 }
Пример #3
0
        public async Task GetGrades(string login, string password)
        {
            HandbookGradeService handbookGradeService = new HandbookGradeService();

            handbookGrades = await handbookGradeService.Get(login, password);
        }