Exemplo n.º 1
0
        public async Task <IActionResult> Edit(NullableIdInput input)
        {
            SystemArticleType ArticleType = new SystemArticleType();

            if (!input.Id.IsNullOrEmptyGuid())
            {
                ArticleType = await _systemArticleTypeLogic.GetById(input.Id);
            }
            return(View(ArticleType));
        }
Exemplo n.º 2
0
 public async Task <JsonResult> SaveArticleType(SystemArticleType articleType)
 {
     return(Json(await _systemArticleTypeLogic.SaveArticleType(articleType)));
 }