public async Task <ActionResult> AddThemeAsync(Domain.Themes.Models.NewTheme info)
        {
            Hub hub = new Hub();

            Domain.Resp resp = await hub.AddThemeAsync(info);

            return(Pack(resp));
        }
예제 #2
0
        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));
        }