public IActionResult Create() { var editorialitems = editorialProxy.Get(editorialServices.BaseUrl, editorialServices.Endpoint); ViewBag.Editorial = new SelectList(editorialitems.Select(it => new { it.Id, Name = $"{it.Name} - {it.Campus}" }).ToList(), "Id", "Name"); return(View(new BookModel())); }
public async Task <JobCardListResponse> GetCardJobs(int page = 1, int pageSize = 25, CancellationToken token = default(CancellationToken)) { var result = await _proxy.Get <JobCardListResponse>(Constants.JobsEndpoint, Method.GET, token : token); return(result.Result); }
public IActionResult Index() { var books = bookProxy.Get(bookServices.BaseUrl, bookServices.Endpoint); return(View(books)); }
public IActionResult Index() { var editorials = editorialProxy.Get(editorialServices.BaseUrl, editorialServices.Endpoint); return(View(editorials)); }