public async Task <IActionResult> Create(Subscriber subscriber) { if (ModelState.IsValid) { await _invoicesRepository.AddSubscriberAsync(subscriber); return(RedirectToAction(nameof(Index))); } return(View(subscriber)); }