public async Task<ActionResult> Create(DeviceCategoryInput deviceCategory)
        {
            if (ModelState.IsValid)
            {
                await _deviceCategoryAppService.CreateDeviceCategoryAsync(deviceCategory);
                return RedirectToAction("Index");
            }

            return View(deviceCategory);
        }
 //Creates device category based on input
 public async Task CreateDeviceCategoryAsync(DeviceCategoryInput input)
 {
         await _deviceCategoryDomainService.CreateAsync(input.MapTo<DeviceCategory>());
         Logger.Info("DeviceCategories: Created a new device category: " + input.DeviceCategoryName);
 }