示例#1
0
        public ActionResult AddResourceKey()
        {
            var resourceKey = LocalizationService.CreateEmptyLocaleResourceKey();
            var viewModel   = new LocaleResourceKeyViewModel
            {
                Id        = resourceKey.Id,
                Name      = resourceKey.Name,
                Notes     = resourceKey.Notes,
                DateAdded = resourceKey.DateAdded
            };

            return(View(viewModel));
        }