public static DTThemeCategoryUsers ThemeCategoryToDTUsers(CategoriasTematica themeCategory) { DTThemeCategoryUsers dtThemeCategory = new DTThemeCategoryUsers(); dtThemeCategory.id = themeCategory.id; dtThemeCategory.idMovement = themeCategory.idMovimiento; dtThemeCategory.title = themeCategory.titulo; dtThemeCategory.description = themeCategory.descripcion; dtThemeCategory.myInterest = (themeCategory.miInteres == null) ? 0 : themeCategory.miInteres.Value; return dtThemeCategory; }
public void getUninterestedThemeCategory(DTThemeCategoryUsers dtThemeCategory) { ControllersHub.Instance.getIUsersController().getUninterestedThemeCategory(DTToClass.DTToThemeCategory(dtThemeCategory)); }