private async Task <ObjectTypePropertyCreateGet> CreateAddDropDownBoxes(ObjectTypePropertyCreateGet ContentTypeProperty, string UserId) { ContentTypeProperty.Statuses = await _objectTypePropertyStatus.List(UserId); ContentTypeProperty.Properties = await _propertyProvider.List(UserId); ContentTypeProperty.ObjectTypeName = await _contentTypeProvider.ReturnName(UserId, ContentTypeProperty.ObjectTypeId); return(ContentTypeProperty); }
private async Task <ObjectTypePropertyCreateGet> CreateAddDropDownBoxes(ObjectTypePropertyCreateGet OrganizationTypeProperty, string UserId) { OrganizationTypeProperty.Statuses = await _objectTypePropertyStatus.List(UserId); OrganizationTypeProperty.Properties = await _propertyProvider.List(UserId); OrganizationTypeProperty.ObjectTypeName = await _organizationTypeProvider.ReturnName(UserId, OrganizationTypeProperty.ObjectTypeId); return(OrganizationTypeProperty); }