private async Task LoadModeli(int proizvodjacId)
        {
            var searchRequest = new ModelSearchRequest
            {
                ProizvodjacId = proizvodjacId
            };

            var result = await _modeliService.Get <List <Modeli.Model> >(searchRequest);

            dgvModeli.DataSource = result;
        }
        private async void BtnSearch_Click(object sender, EventArgs e)
        {
            var search = new ModelSearchRequest
            {
                Name = txtSearch.Text
            };
            var result = await _apiService.GetAll <List <Model.Model> >(search);

            foreach (var item in result)
            {
                item.ManufacturerName = item.Manufacturer.Name;
            }
            dgvModelsData.AutoGenerateColumns = false;
            dgvModelsData.DataSource          = result;
        }