Beispiel #1
0
        public IActionResult Details(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var pais = _baseBll.GetById(long.Parse(id.ToString()));

            if (pais == null)
            {
                return(NotFound());
            }
            return(View(pais));
        }
 public string Resolve(Estado source, EstadoViewDto destination, string destMember, ResolutionContext context)
 {
     return(_baseBll.GetById(source.fkidPais).Descricao);
 }
 public string Resolve(Paciente source, PacienteViewDto destination, string destMember, ResolutionContext context)
 {
     return(_baseBll.GetById(source.fkidCidade).Descricao);
 }