public JsonResult <List <Veterinario> > GetAllVeterinariosByPetTipo(int pet_tipo_id) { VeterinarioBusiness veterinario_business = new VeterinarioBusiness(); return(Json(veterinario_business.GetAllVeterinariosByPetTipo(pet_tipo_id))); }
public JsonResult <List <Veterinario> > GetAll() { VeterinarioBusiness veterinario_business = new VeterinarioBusiness(); return(Json(veterinario_business.GetAllVeterinarios())); }
public JsonResult <Veterinario> Get(int veterinario_id) { VeterinarioBusiness veterinario_business = new VeterinarioBusiness(); return(Json(veterinario_business.GetVeterinario(veterinario_id))); }
public JsonResult <bool> Cadastrar(ViewModelCadastroVeterinario vm_cadastro_veterinario) { VeterinarioBusiness veterinario_business = new VeterinarioBusiness(); return(Json(veterinario_business.CadastrarVeterinario(vm_cadastro_veterinario))); }