Exemplo n.º 1
0
 public RetornoPermissao BuscaLogado(string hostname, Guid licenca)
 {
     try
     {
         var context = new Indigo_Controle_Licenca();
         var ret     =
             context.STP_CONTROLE_HORAS(hostname, licenca);
         return(ret.FirstOrDefault());
     }
     catch (Exception)
     {
         return(new RetornoPermissao());
     }
 }