public static void Delete(string id) { service.Delete(id, AuthenticationHelper.CompanyId.Value); }
public ActionResult Delete(string id) { service.Delete(id, AuthenticationHelper.User.CompanyId); return(RedirectToAction("Index")); }