public async Task <ActionResult> AddThemeAsync(Domain.Themes.Models.NewTheme info) { Hub hub = new Hub(); Domain.Resp resp = await hub.AddThemeAsync(info); return(Pack(resp)); }
public async Task <ActionResult> CreateAsync([FromBody] Models.NewTheme info) { info.CreateById = CurrentClient.Id; Hub hub = new Hub(); Domain.Resp resp = await hub.AddThemeAsync(info); return(Pack(resp)); }