public ActionResult DeleteConfirmed(int id)
        {
            Following following = _followingRepository.FindById(id);

            _followingRepository.Remove(id);
            return(RedirectToAction("Index"));
        }
Exemplo n.º 2
0
 public async Task Remove(Following following)
 {
     await _repository.Remove(following);
 }