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

            ContractManagement.Destroy();
        }
Beispiel #5
0
 public static void Destroy()
 {
     ContractManagement.Destroy();
 }