public async Task <IActionResult> DeleteAsync(int id)
        {
            await _fieldTypesService.RemoveByIdAsync(id);

            return(Ok());
        }
        public void RemoveByIdAsync_ExistingId_NoException()
        {
            var ex = Record.ExceptionAsync(() => _fieldTypeService.RemoveByIdAsync(1));

            Assert.Null(ex.Result);
        }