public object Get(InputFileMetadataDto request) { if (request.Id != null) { return(getById <InputFileMetadataDto, InputFileMetadata>(request.Id.Value)); } else { return(getAll <InputFileMetadataDto, InputFileMetadata>(request)); } }
public object Post(InputFileMetadataDto request) { return(saveNewMetadata(request, new InputFileMetadata().PopulateWith(request))); }
public object Delete(InputFileMetadataDto request) { return(deleteMetadata <InputFileMetadata>(request, "input")); }