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