public SingleResponse <IList <AsegModel> > ConsultaAseguradoras(ClienteAsegModel clienteAseg) { SingleResponse <IList <AsegModel> > response = new SingleResponse <IList <AsegModel> >(); try { IList <AsegModel> listAseg = iGestionDataAccess.ConsultaAseguradoras(clienteAseg); response.Done(listAseg, string.Empty); response.ThrowIfNotOk(); } catch (DalException e) { response.Error(e); } catch (DomainValidationsException e) { response.SetValidations(e.Validations); } catch (DomainException e) { response.Error(e); } catch (Exception e) { response.Error(new DomainException(CodesTickets.ERR_00_17, e)); } return(response); }