public void AddContract(Contract c) { initor.contracts.Add(c); DbModel.AddContract(c); SingletonWithInit <ContractService> .Instance.Flush(); }