예제 #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);
        }
예제 #2
0
 public async Task AddTest(string login, string password, TestDB test)
 {
     HandbookTestService handbookTestService = new HandbookTestService();
     await handbookTestService.Add(login, password, test);
 }
예제 #3
0
        public async Task GetTests(string login, string password)
        {
            HandbookTestService handbookTestService = new HandbookTestService();

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