public async Task <IActionResult> View(int id)
        {
            ViewData["Title"] = $"{_appSettings.Value.AppTitle}-{Subtitle.TenderView}";
            var tender = await _tenderService.GetTenderById(id);

            var tenderViewModel = MapToTenderViewMododel(tender);

            return(View(tenderViewModel));
        }
 public IActionResult GetTenderById(String id)
 {
     return(Ok(TenderService.GetTenderById(Int32.Parse(id))));
 }