Exemple #1
0
        public async Task <Boolean> DeleteTest(string login, string password, int id)
        {
            bool success;
            HandbookTestService handbookTestService = new HandbookTestService();

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

            return(success);
        }
Exemple #2
0
 public async Task AddTest(string login, string password, TestDB test)
 {
     HandbookTestService handbookTestService = new HandbookTestService();
     await handbookTestService.Add(login, password, test);
 }
Exemple #3
0
        public async Task GetTests(string login, string password)
        {
            HandbookTestService handbookTestService = new HandbookTestService();

            handbookTests = await handbookTestService.Get(login, password);
        }