Example #1
0
 public void Alta(Sala Sala)
 {
     try
     {
         _SalaRepository.Add(Sala);
         _SalaRepository.Save();
     }
     catch (Exception ex)
     {
         Log.Error(ex.ToString());
     }
 }
Example #2
0
 public async Task <Sala> Adicionar(Sala entity)
 {
     return(await repository.Add(entity));
 }