public async Task <IActionResult> AddComic(AddComicViewModel addComicViewModel) { if (!ModelState.IsValid) { return(BadRequest()); } addComicViewModel.SetComicUploadCover(); if (addComicViewModel.Comic.Cover.Length > 5242880) { return(BadRequest()); } var response = await _podlerApiService.PostComic(addComicViewModel.Comic); return(RedirectToAction("index", "home")); }