public IActionResult Edit(int?id) { if (id == null) { return(NotFound()); } var entity = _baseBll.GetById(long.Parse(id.ToString())); entity.paises = _paisBll.GetList().Result; if (entity == null) { return(NotFound()); } return(View(entity)); }
public string Resolve(Cidade source, CidadeViewDto destination, string destMember, ResolutionContext context) { return(_baseBll.GetById(source.fkidEstado).descricao); }