public IActionResult PostCopy(MoveOrCopy copy) { return(PerformCopy( copy, getContentType: i => _contentTypeService.Get(i), doCopy: (type, i) => _contentTypeService.Copy(type, i))); }
public IActionResult PostCopy(MoveOrCopy copy) => PerformCopy( copy, i => _contentTypeService.Get(i), (type, i) => _contentTypeService.Copy(type, i));