public IHttpActionResult eliminarPais(PaisRequest model) { PaisDataAccess _paisDataAccess = new PaisDataAccess(); BaseResponse <string> result = new BaseResponse <string>(); result = _paisDataAccess.EliminarPais(model); return(Ok(result)); }
public IHttpActionResult getAllPais(PageResultParam model) { PaisDataAccess _paisDataAccess = new PaisDataAccess(); PageResultSP <PaisResponse> result = new PageResultSP <PaisResponse>(); result = _paisDataAccess.getAllPais(model); return(Ok(result)); }