public async Task <IActionResult> DeleteQuestionConfirmed(int id, int?PageSize, int?PageNumber) { HttpResponseMessage response = await _HttpApiClient.DeleteAsync( $"api/AppealCitizens/DeleteQuestion/{id}"); return(RedirectToAction(nameof(Index), new { PageSize = ViewBag.PageSize, PageNumber = ViewBag.PageNumber })); }
public async Task <IActionResult> DeleteConfirmed(int id, string SortOrder, string NameFilter, int?MonitoringPostIdFilter, int?PageSize, int?PageNumber) { ViewBag.SortOrder = SortOrder; ViewBag.PageSize = PageSize; ViewBag.PageNumber = PageNumber; ViewBag.NameFilter = NameFilter; ViewBag.MonitoringPostIdFilter = MonitoringPostIdFilter; HttpResponseMessage response = await _HttpApiClient.DeleteAsync( $"api/LEDScreens/{id}"); return(RedirectToAction(nameof(Index), new { SortOrder = ViewBag.SortOrder, PageSize = ViewBag.PageSize, PageNumber = ViewBag.PageNumber, NameFilter = ViewBag.NameFilter, MonitoringPostIdFilter = ViewBag.MonitoringPostIdFilter })); }
public async Task <IActionResult> DeleteConfirmed(int id, string SortOrder, int?KATOIdFilter, int?PlantationsTypeIdFilter, int?PageSize, int?PageNumber) { ViewBag.SortOrder = SortOrder; ViewBag.PageSize = PageSize; ViewBag.PageNumber = PageNumber; ViewBag.KATOIdFilter = KATOIdFilter; ViewBag.PlantationsTypeIdFilter = PlantationsTypeIdFilter; HttpResponseMessage response = await _HttpApiClient.DeleteAsync( $"api/SpeciesDiversities/{id}"); return(RedirectToAction(nameof(Index), new { SortOrder = ViewBag.SortOrder, PageSize = ViewBag.PageSize, PageNumber = ViewBag.PageNumber, KATOIdFilter = ViewBag.KATOIdFilter, PlantationsTypeIdFilter = ViewBag.PlantationsTypeIdFilter })); }
public async Task <IActionResult> DeleteConfirmed(int id, string SortOrder, int?GreemPlantsPassportIdFilter, int?PlantationsTypeIdFilter, int?PageSize, int?PageNumber) { ViewBag.SortOrder = SortOrder; ViewBag.PageSize = PageSize; ViewBag.PageNumber = PageNumber; ViewBag.GreemPlantsPassportIdFilter = GreemPlantsPassportIdFilter; ViewBag.PlantationsTypeIdFilter = PlantationsTypeIdFilter; HttpResponseMessage response = await _HttpApiClient.DeleteAsync( $"api/TreesByObjectTableOfTheBreedStateLists/{id}"); return(RedirectToAction(nameof(Index), new { SortOrder = ViewBag.SortOrder, PageSize = ViewBag.PageSize, PageNumber = ViewBag.PageNumber, GreemPlantsPassportIdFilter = ViewBag.GreemPlantsPassportIdFilter, PlantationsTypeIdFilter = ViewBag.PlantationsTypeIdFilter })); }
public async Task <IActionResult> DeleteConfirmed(int id, string SortOrder, string NameKKFilter, string NameRUFilter, string NameENFilter, int?PageSize, int?PageNumber) { ViewBag.SortOrder = SortOrder; ViewBag.PageSize = PageSize; ViewBag.PageNumber = PageNumber; ViewBag.NameKKFilter = NameKKFilter; ViewBag.NameRUFilter = NameRUFilter; ViewBag.NameENFilter = NameENFilter; HttpResponseMessage response = await _HttpApiClient.DeleteAsync( $"api/PlantationsTypes/{id}"); return(RedirectToAction(nameof(Index), new { SortOrder = ViewBag.SortOrder, PageSize = ViewBag.PageSize, PageNumber = ViewBag.PageNumber, NameKKFilter = ViewBag.NameKKFilter, NameRUFilter = ViewBag.NameRUFilter, NameENFilter = ViewBag.NameENFilter })); }
public async Task <IActionResult> DeleteConfirmed(int id, string SortOrder, string NameKKFilter, string NameRUFilter, string GISConnectionCodeFilter, int?TerritoryTypeIdFilter, int?ProjectIdFilter, int?PageSize, int?PageNumber) { ViewBag.SortOrder = SortOrder; ViewBag.PageSize = PageSize; ViewBag.PageNumber = PageNumber; ViewBag.NameKKFilter = NameKKFilter; ViewBag.NameRUFilter = NameRUFilter; ViewBag.GISConnectionCodeFilter = GISConnectionCodeFilter; ViewBag.TerritoryTypeIdFilter = TerritoryTypeIdFilter; ViewBag.ProjectIdFilter = ProjectIdFilter; HttpResponseMessage response = await _HttpApiClient.DeleteAsync( $"api/TargetTerritories/{id}"); return(RedirectToAction(nameof(Index), new { SortOrder = ViewBag.SortOrder, PageSize = ViewBag.PageSize, PageNumber = ViewBag.PageNumber, NameKKFilter = ViewBag.NameKKFilter, NameRUFilter = ViewBag.NameRUFilter, GISConnectionCodeFilter = ViewBag.GISConnectionCodeFilter, TerritoryTypeIdFilter = ViewBag.TerritoryTypeIdFilter, ProjectIdFilter = ViewBag.ProjectIdFilter })); }
public async Task <IActionResult> DeleteConfirmed(int id, string SortOrder, string NameENFilter, string NameRUFilter, string NameKKFilter, int?AuthorizedAuthorityIdFilter, int?PageSize, int?PageNumber) { ViewBag.SortOrder = SortOrder; ViewBag.PageSize = PageSize; ViewBag.PageNumber = PageNumber; ViewBag.NameENFilter = NameENFilter; ViewBag.NameRUFilter = NameRUFilter; ViewBag.NameKKFilter = NameKKFilter; ViewBag.AuthorizedAuthorityIdFilter = AuthorizedAuthorityIdFilter; HttpResponseMessage response = await _HttpApiClient.DeleteAsync( $"api/SpeciallyProtectedNaturalTerritories/{id}"); return(RedirectToAction(nameof(Index), new { SortOrder = ViewBag.SortOrder, PageSize = ViewBag.PageSize, PageNumber = ViewBag.PageNumber, NameENFilter = ViewBag.NameENFilter, NameRUFilter = ViewBag.NameRUFilter, NameKKFilter = ViewBag.NameKKFilter, AuthorizedAuthorityIdFilter = ViewBag.AuthorizedAuthorityIdFilter })); }
public async Task <IActionResult> DeleteConfirmed(int id, string SortOrder, string OrganizationFilter, string TypesRawFilter, int?PageSize, int?PageNumber) { ViewBag.SortOrder = SortOrder; ViewBag.PageSize = PageSize; ViewBag.PageNumber = PageNumber; ViewBag.OrganizationFilter = OrganizationFilter; ViewBag.TypesRawFilter = TypesRawFilter; HttpResponseMessage response = await _HttpApiClient.DeleteAsync( $"api/ReceptionRecyclingPoints/{id}"); return(RedirectToAction(nameof(Index), new { SortOrder = ViewBag.SortOrder, PageSize = ViewBag.PageSize, PageNumber = ViewBag.PageNumber, OrganizationFilter = ViewBag.OrganizationFilter, TypesRawFilter = ViewBag.TypesRawFilter })); }
public async Task <IActionResult> DeleteConfirmed(int id, string SortOrder, string FullNameFilter, string PositionFilter, int?PageSize, int?PageNumber) { ViewBag.SortOrder = SortOrder; ViewBag.PageSize = PageSize; ViewBag.PageNumber = PageNumber; ViewBag.FullNameFilter = FullNameFilter; ViewBag.PositionFilter = PositionFilter; HttpResponseMessage response = await _HttpApiClient.DeleteAsync( $"api/Executors/{id}"); return(RedirectToAction(nameof(Index), new { SortOrder = ViewBag.SortOrder, PageSize = ViewBag.PageSize, PageNumber = ViewBag.PageNumber, FullNameFilter = ViewBag.FullNameFilter, PositionFilter = ViewBag.PositionFilter })); }
public async Task <IActionResult> DeleteConfirmed(int id, string SortOrder, int?NumberFilter, int?PageSize, int?PageNumber) { ViewBag.SortOrder = SortOrder; ViewBag.PageSize = PageSize; ViewBag.PageNumber = PageNumber; ViewBag.NumberFilter = NumberFilter; HttpResponseMessage response = await _HttpApiClient.DeleteAsync( $"api/KazHydrometSoilPosts/{id}"); return(RedirectToAction(nameof(Index), new { SortOrder = ViewBag.SortOrder, PageSize = ViewBag.PageSize, PageNumber = ViewBag.PageNumber, NumberFilter = ViewBag.NumberFilter })); }
public async Task <IActionResult> DeleteConfirmed(int id, string SortOrder, string NameKKFilter, string NameRUFilter, string NameENFilter, int?EcomonCodeFilter, string OceanusCodeFilter, string KazhydrometCodeFilter, int?PageSize, int?PageNumber) { ViewBag.SortOrder = SortOrder; ViewBag.PageSize = PageSize; ViewBag.PageNumber = PageNumber; ViewBag.NameKKFilter = NameKKFilter; ViewBag.NameRUFilter = NameRUFilter; ViewBag.NameENFilter = NameENFilter; ViewBag.EcomonCodeFilter = EcomonCodeFilter; ViewBag.OceanusCodeFilter = OceanusCodeFilter; ViewBag.KazhydrometCodeFilter = KazhydrometCodeFilter; HttpResponseMessage response = await _HttpApiClient.DeleteAsync( $"api/MeasuredParameters/{id}"); return(RedirectToAction(nameof(Index), new { SortOrder = ViewBag.SortOrder, PageSize = ViewBag.PageSize, PageNumber = ViewBag.PageNumber, NameKKFilter = ViewBag.NameKKFilter, NameRUFilter = ViewBag.NameRUFilter, NameENFilter = ViewBag.NameENFilter, EcomonCodeFilter = ViewBag.EcomonCodeFilter, OceanusCodeFilter = ViewBag.OceanusCodeFilter, KazhydrometCodeFilter = ViewBag.KazhydrometCodeFilter })); }
public async Task<IActionResult> DeleteConfirmed(int id, string SortOrder, string GreenObjectFilter, int? KATOIdFilter, int? PageSize, int? PageNumber) { ViewBag.SortOrder = SortOrder; ViewBag.PageSize = PageSize; ViewBag.PageNumber = PageNumber; ViewBag.GreenObjectFilter = GreenObjectFilter; ViewBag.KATOIdFilter = KATOIdFilter; HttpResponseMessage response = await _HttpApiClient.DeleteAsync( $"api/GreemPlantsPassports/{id}"); return RedirectToAction(nameof(Index), new { SortOrder = ViewBag.SortOrder, PageSize = ViewBag.PageSize, PageNumber = ViewBag.PageNumber, GreenObjectFilter = ViewBag.GreenObjectFilter, KATOIdFilter = ViewBag.KATOIdFilter }); }