public ActionResult Delete(long id)
 {
     _frigoRepository.Delete(id, SessionManager.User.Id);
     return(RedirectToAction("Index"));
 }
 public bool Delete(long id, int userId)
 {
     return(_globalRepository.Delete(id, userId));
 }