Exemplo n.º 1
0
        public async Task Delete_TestDetail_Confirmation()
        {
            var testDetailId = 1;
            var data         = await repository.DeleteAthleteConfirmed(testDetailId);

            await unitOfWork.Commit();

            Assert.NotNull(data);
        }
Exemplo n.º 2
0
        public async Task <IActionResult> DeleteAthleteConfirmed(int id)
        {
            await _TestListRpository.DeleteAthleteConfirmed(id);

            await _UnitOfWork.Commit();

            return(RedirectToAction(nameof(Index)));
        }