public void AddToRepository(WarehouseType itemType) { _repositoryContext.MergeOption = MergeOption.AppendOnly; _repositoryContext.AddToWarehouseTypes(itemType); }