public void Delete(
     int id,
     [FromServices] IEstadoCivilApplication estadoCivilApplication)
 {
     //Falta fazer o RemoveById para essa model.
     estadoCivilApplication.GetById(id);
 }
 public EstadoCivil Get(
     int id,
     [FromServices] IEstadoCivilApplication estadoCivilApplication)
 {
     return(estadoCivilApplication.GetById(id));
 }