public async Task <ActionResult> Delete(int id)
        {
            try
            {
                if (!await repo.DeleteAsync(id).ConfigureAwait(false))
                {
                    throw new Exception("Entity wasn't delete! Error occurred!");
                }
            }
            catch (Exception ex)
            {
                // log
            }

            return(RedirectToAction(nameof(Index)));
        }