public static void Destroy() { if (!IsOwner()) { throw new Exception("No authorization."); } ContractManagement.Destroy(); }
public static bool Destroy() { if (!IsOwner()) { throw new InvalidOperationException("No Authorization!"); } ContractManagement.Destroy(); return(true); }
public static bool Destroy() { if (!IsAdmin()) { Error("No authorization."); return(false); } ContractManagement.Destroy(); return(true); }
public static void Destroy() { Assert(IsOwner(), "No authorization."); ContractManagement.Destroy(); }
public static void Destroy() { ContractManagement.Destroy(); }