public async Task Create()
 {
     if (TheaterRepository != null)
     {
         try
         {
             await TheaterRepository.Create(theater);
         }
         catch (Exception e)
         {
             Assert.Fail(e.Message);
         }
     }
     else
     {
         Assert.Fail();
     }
 }
예제 #2
0
 public async Task Create(Theater theater)
 {
     await TheaterRepository.Create(theater);
 }