Esempio n. 1
0
 public ScreenContract GetById(int id)
 {
     try
     {
         var screen = _screenService.GetId(id);
         return(screen.Cast <ScreenContract>());
     }
     catch (Exception e)
     {
         LogFile.Create(e, Log);
         throw new Exception("Erro on the method GetById " + e.Message);
     }
 }