Ejemplo n.º 1
0
        public IActionResult Delete(int id, int entryId)
        {
            _entryPlatformRepository.Delete(id);
            TempData["message"] = "Platform entry deleted successfully.";

            return(RedirectToAction(
                       "Index",
                       "EntryPlatform",
                       new { id = entryId }));
        }
Ejemplo n.º 2
0
 public void Delete(int id)
 {
     EntryPlatformRepository.Delete(id);
 }