public async Task <IActionResult> OnPostAsync()
        {
            var dto = ObjectMapper.Map <CreateEditEquipmentSparePartTypeViewModel, CreateUpdateEquipmentSparePartTypeDto>(ViewModel);
            await _service.CreateAsync(dto);

            return(NoContent());
        }
        public async Task <IActionResult> OnPostAsync()
        {
            await _service.CreateAsync(EquipmentSparePartType);

            return(NoContent());
        }