public async Task <ActionResult> Delete(int id) { await costsRepository.DeleteAsync(id); return(RedirectToAction("Index")); }