public int Create(string Name) { int result = 1; ContractorType sr = ContractorType.CreateContractorType(1, Name); context.AddToContractorTypes(sr); return(result); }