Example #1
0
 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;
 }
Example #2
0
 public void getUninterestedThemeCategory(DTThemeCategoryUsers dtThemeCategory)
 {
     ControllersHub.Instance.getIUsersController().getUninterestedThemeCategory(DTToClass.DTToThemeCategory(dtThemeCategory));
 }