public async Task OnGetAsync(int tId, int eId)
 {
     EventTheme = await eventThemeService.GetFromId(tId, eId);
 }
 public object SaveEventTheme(EventTheme objEventTheme)
 {
     return FacadeManager.EventManager.SaveEventTheme(objEventTheme);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// This method will call the event resource save event theme method 
 /// </summary>
 /// <param name="objEventTheme"></param>
 /// <returns></returns>
 public object SaveEventTheme(EventTheme objEventTheme)
 {
     object identity = null;
     try
     {
         EventResource objEventRes = new EventResource();
         identity = objEventRes.SaveEventTheme(objEventTheme);
     }
     catch (Exception ex)
     {
         throw ex;
     }
     return identity;
 }
 public CreateEventThemeModel(ICrudService <EventTheme> etService)
 {
     eventThemeService = etService;
     eventThemeService.Init_Composite(ModelTypes.Theme, ModelTypes.Event, ModelTypes.EventTheme);
     EventTheme = new EventTheme();
 }