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); }
public async Task AddTest(string login, string password, TestDB test) { HandbookTestService handbookTestService = new HandbookTestService(); await handbookTestService.Add(login, password, test); }
public async Task GetTests(string login, string password) { HandbookTestService handbookTestService = new HandbookTestService(); handbookTests = await handbookTestService.Get(login, password); }